Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

merlyn (47)

AOL IM: realmerlyn (Add Buddy, Send Message)
Yahoo! ID: realmerlyn (Add User, Send Message)

See my home page [].

Journal of merlyn (47)

Wednesday May 11, 2005
06:35 PM

CGI::Prototype::Mecha gets smarter

[ #24641 ]
Today, for $client, I was trying to test a file upload field using my CGI::Prototype::Mecha (since the application is written in my CGI::Prototype, it just makes sense).

Ugh. No, file uploads appear very weirdly in the LWP::Request object I'm getting from WWW::Mechanize, and faking up a object was just a bit tough. After banging my head on it for an hour or two (and realizing/remembering that I have to call CGI::_reset_globals on every hit), I've achieved a very nice result. The code is more unified than before, and requires a lot less black magic.

Now when I get to $work tomorrow, I can continue those tests, after downloading the new distro from the CPAN. Yeay.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.