The documentation for POST in HTTP::Request::Common shows an example of how to do a file upload. You need to have an array ref with specific contents.
You might also look at WWW::Mechanize which has an even simpler interface (use the value method to set the file upload field to the filename you want to upload and then submit the form).
In reply to Re: Using LWP to automate file upload
by Fletch
in thread Using LWP to automate file upload
by cdlvj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |