Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Please help me in mechanize module

by Anonymous Monk
on Sep 03, 2010 at 14:59 UTC ( [id://858728]=note: print w/replies, xml ) Need Help??


in reply to Re: Please help me in mechanize module
in thread Please help me in mechanize module

>>
(see WWW::Mechanize about the ->set_content method)
I used update_html this..
my $string="@groupstring"; my $html = $mech->content; $html =~ s/\"javascript:sbtn\(\'r\'\)\;\"><\/select>/\"javascript:sbtn\(\'r\'\)\;\">$string<\/select>"/isg; $mech->update_html( $html ); $mech->save_content('C:/Documents and Settings/samba/Desktop/x_new.html'); Can you please guide me how to use WWW::Scripter? or I am almost done parsing the option values and names in selecte statement. pls guide me how I can pass the multiple values manually.
form_number => 1,
fields => {
loginid => 'testid8',
password => 'testid8',
repassword => 'testid8',
name => 'Testing',
email => samba@gmail.com',
samba => '45',
},
);
In the above lines if you see "samba => '45'" here I am passing the value for "samba" directly but I want to know
how I can pass multiple values like "samba => '45','172','39'"
  • Comment on Re^2: Please help me in mechanize module

Replies are listed 'Best First'.
Re^3: Please help me in mechanize module
by Corion (Patriarch) on Sep 03, 2010 at 16:31 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-23 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found