|
|
| Just another Perl shrine | |
| PerlMonks |
Re: CGI::Upload - CGI class for handling browser file uploadsby $code or die (Deacon) |
| on Mar 12, 2002 at 10:14 UTC ( [id://151124]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Looks really good. I really like the interface. I'm curious though, CGI->upload() returns a filehandle, so does CGI->param() for that matter. I am wondering why in _handle_file() you read from this filehandle and write to a new tempfile so you can provide your own filehandle. Wouldn't it be easier to use the filehandle the CGI.pm provides? One more thing, if you do need the new filhandle do you need to binmode() it for compatability? ___ Simon Flack ($code or die)$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$, =~y'_"' ';eval"die";print $_,lc substr$@,0,3;
In Section
Code Catacombs
|
|
||||||||||||||||||||||||||||