>>
(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'"

In reply to Re^2: Please help me in mechanize module by samba123456
in thread Please help me in mechanize module by samba123456

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.