in reply to Re: Re: Re: Re: Re: Yet another CGI Upload problem - not like the others!
in thread Yet another CGI Upload problem - not like the others!

Tachyon I notice that the CGI:Simple docs contradict this (very old) node, which is currently correct?

(From POD)
use CGI::Simple; $CGI::Simple::DISABLE_UPLOADS = 0; # enable uploads $CGI::Simple::POST_MAX = 1_048_576; # allow 1MB uploads $q = new CGI::Simple;

Replies are listed 'Best First'.
Re^7: Yet another CGI Upload problem - not like the others!
by tachyon (Chancellor) on Sep 25, 2004 at 01:17 UTC

    Both! With OO usage the data stream parse occurs when you create an object. So you have anytime up until then to set your config params. But with NON-OO use the data stream parse occurs at the time of the use (when you specify you are not going OO). CGI::Simple is primarily an OO module with the method interface added for CGI.pm compatibility.

    cheers

    tachyon