|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^3: CGI upload efficiencyby sauoq (Abbot) |
| on May 08, 2012 at 22:41 UTC ( #969542=note: print w/ replies, xml ) | Need Help?? |
|
If I read this correctly, the '0' tells CGI not to write data to it's normal file and therefore the bits will only end up going wherever &hooks directs them to? Yes. If you instantiate CGI.pm this way, it won't write the uploaded data to a temp file. Your only chance to do something with it is as you get it chunk by chunk in your callback routine (the hook function.)
-sauoq "My two cents aren't worth a dime.";
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||