markjugg has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing a module to help validate file uploads using CGI.pm and Data::FormValidator. I'm writing test scripts now, and would like to simulate the file upload so I can test the validation.
I checked to see if there were any tests for this in the CGI.pm distribution and didn't find any. I'm looking for suggestions on how I test CGI.pm file upload functionality from a Perl script. If the solution can work around requiring other modules and net access for the test script, it's a plus.
Thanks!
-mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: testing CGI.pm file uploads?
by chromatic (Archbishop) on Apr 11, 2003 at 17:00 UTC | |
by markjugg (Curate) on Apr 11, 2003 at 17:53 UTC | |
by markjugg (Curate) on Apr 11, 2003 at 18:15 UTC | |
|
Re: testing CGI.pm file uploads?
by markjugg (Curate) on Apr 11, 2003 at 19:15 UTC | |
|
Re: testing CGI.pm file uploads?
by maksl (Pilgrim) on Apr 11, 2003 at 18:16 UTC |