Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Getting all the parameters of CGI request

by trwww (Priest)
on Feb 02, 2010 at 19:47 UTC ( #821023=note: print w/replies, xml ) Need Help??


in reply to Getting all the parameters of CGI request

Perhaps WWW::Mechanize::Shell is what you are looking for? For example after fetching the page the forms command lists all forms and fields:

$ perl -MWWW::Mechanize::Shell -eshell (no url)>get http://www.bioinformatics.nl/.../primer3plus.cgi Retrieving http://www.bioinformatics.nl/.../primer3plus.cgi(200) http://www.bioinformatics.nl/.../primer3plus.cgi> forms Form [1] POST http://www.bioinformatics.nl/.../primer3plus.cgi (multipart/form-data) [mainForm] ... snip list of fields and default values where relevant ...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2019-03-24 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (115 votes). Check out past polls.

    Notices?