Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Getting all the parameters of CGI request

by jettero (Monsignor)
on Feb 02, 2010 at 19:25 UTC ( #821011=note: print w/replies, xml ) Need Help??


in reply to Getting all the parameters of CGI request

It may not list out the params, but it sure will help filling out the form: WWW::Mechanize. Most of the values will have defaults, so you'll only have to set one or two of them and you're done.

-Paul

  • Comment on Re: Getting all the parameters of CGI request

Replies are listed 'Best First'.
Re^2: Getting all the parameters of CGI request
by ikegami (Pope) on Feb 02, 2010 at 19:30 UTC

    It may not list out the params,

    Sure it does. $mech->forms gets you the forms, and $form->inputs gets you a form's inputs.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821011]
help
Chatterbox?
[ambrus]: Corion: some of these stupid syntax highlighters assume that too. just look at the table in http://perldoc. perl.org/ functions/pack. html for example.
[haukex]: ..."yet" ;-) I haven't had to deal with Dist::Zilla yet but I've heard about how it's a big setup
[ambrus]: I really don't like automagic stuff. I'm happy when computers do exactly what I tell them, even if that means they sometimes do the wrong thing.
[ambrus]: And I don't much like syntax highlighters. If you need a syntax highlighter to understand your code, then your code is written unclear.
[ambrus]: And if you need a syntax highlighter to color parenthesis green and numbers black and letters blue, then you're using the wrong font.
[ambrus]: I have to tolerate syntax highlighters when other people use them, but I don't use them myself. And sorry for the rant.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2017-02-27 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (385 votes). Check out past polls.