On Apr 5, Shaun Fryer said:

>Rather than using CGI.pm, I'm using the following library sub-routine
>which was passed to me by a friend (I think from one of the O'Reilly
>books). What I'm wondering is if Perl 5 has any built in functionality

I highly doubt it was found in an O'Reilly book -- if it was, perhaps it
was from BEFORE CGI.pm was created -- it uses local() and what-not.  I'd
suggest using CGI.pm, really.

>to prevent buffer overruns or excessive memory consumption resulting
>from POST data. Is there a default maximum for buffer size and for bytes
>recieved via POST? If so, what are these maximums? And, coming from a
>total newbee, does CGI.pm deal with this better? If so, how?

CGI.pm allows you to restrict the size of a query.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to