Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Source code to upload a file

by nduc (Initiate)
on Jun 04, 2012 at 05:23 UTC ( #974229=perlquestion: print w/ replies, xml ) Need Help??
nduc has asked for the wisdom of the Perl Monks concerning the following question:

I have a webpage with a form there. I try to write a program so that it can do something with that form as I do manually:
- Browse to upload a local file.
- Fill in comment box on that form.
- Click buttom "Submit" to submit the form.

How do I got this?

Comment on Source code to upload a file
Replies are listed 'Best First'.
Re: Source code to upload a file
by NetWallah (Abbot) on Jun 04, 2012 at 05:30 UTC
    Look at the "Examples" in WWW::Mechanize - these include code to upload.

                 I hope life isn't a big joke, because I don't get it.
                       -SNL

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2016-02-13 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (418 votes), past polls