Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Getting all the parameters of CGI request

by trwww (Priest)
on Feb 02, 2010 at 19:47 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://821023]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-20 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found