note
hippo
<blockquote><i>Q2) Do we live in a post CGI-bin world? This looks pretty ancient to be worried about buffers.
</i></blockquote>
<p>The author of that code has chosen to be worried about buffers and that is therefore his concern. He could instead have chosen to use something like [metamod://CGI::UploadEasy] and not given two hoots about buffers. Personally I wouldn't worry about the use of a buffer either way. I would be more concerned about not checking the result of <c>open()</c>, printing out plain text in a <c>text/html</c> MIME type response, indenting oddly/inconsistently, using an unreferenced label and some quaint old-time syntax. :-)</p>
<div class="pmsig"><div class="pmsig-885521">
<hr /><p>🦛
</p>
</div></div>
11149277
11149277