By looking at the following from the documentation of the LWP::UserAgent module:
"$ua->post( $url, \%form, $field_name => $value, ... )"
it seems to me that I can pass BOTH a hashref AND a list of name value pairs to the SAME form. Is that correct?
I am currently trying something like this:
$response = $browser->post( 'http://site.com/form.php', \%form, 'val1' => 1, 'val2' => 0, @header);This, however, doesn't seem to work. Any ideas?
use strict; use CGI;
In reply to LWP post method, mutliple parameters by davidov0009
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |