Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Upload file and Form filling using the mechanise

by smarthacker67 (Beadle)
on Jun 16, 2017 at 15:06 UTC ( [id://1192948]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    
    when I dump the form 
    ...
    #                                         'accept' => 'application/pdf
    +',
    #                                         'data-buttonname' => 'btn-de
    +fault'
    #                                       }, 'HTML::Form::FileInput' ),
    
  2. or download this
    my $mech = WWW::Mechanize->new();
    $mech->cookie_jar(HTTP::Cookies->new());
    ...
    $mech->submit_form();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1192948]
Approved by Eily
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-25 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found