in reply to Re^2: File upload w/WWW::Mechanize
in thread File upload w/WWW::Mechanize
Hi,
Well, jkenneth was last here (8 years ago), so I'll answer
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?
You're not reaching into the innards of $agent, you're shaking hands as intended
Anyway, you don't have to go through HTML::Form to upload a file, you can just do it the LWP way, the docs know all, https://metacpan.org/pod/HTTP::Request::Common#POST-url, Re: PUT a Multipart request in PERL ( lwp-mechanize-put-multipart-form.pl )
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: File upload w/WWW::Mechanize
by c-alpha (Novice) on Dec 30, 2019 at 17:16 UTC | |
by Anonymous Monk on Dec 30, 2019 at 19:23 UTC |
In Section
Seekers of Perl Wisdom