Just ran into the same problem. Your solution still works.
But isn't there another solution? Why do I have to reach into the innards of $agent to specify the file path, the submitted filename and the content type?
This would be a nice candidate for the cookbook.
In reply to Re^2: File upload w/WWW::Mechanize
by jczeus
in thread File upload w/WWW::Mechanize
by jkenneth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |