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

Is this a bug in mechanize::select(), or am I just confused? (or something else) (answer: bad html)

by rustycar (Novice)
on Jul 31, 2008 at 01:47 UTC ( #701312=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ans = 1; # or whatever.
    while ($ans)
    ...
    $inputobj = $mech->current_form()->find_input( 'accept', 'submit');
    die 'argh! Cannot find Accept button on the iSCSI Access page!' unless
    + $inputobj;
    $ans = $mech->click_button( input => $inputobj );
    
  2. or download this
    <td>
    <input type="hidden" name="serverList" value="">
    ...
    
    </select>
    </td>
    
  3. or download this
    
    while ($ans)
    ...
    $inputobj = $mech->current_form()->find_input( 'accept', 'submit');
    die 'argh! Cannot find Accept button on the iSCSI Access page!' unless
    + $inputobj;
    $ans = $mech->click_button( input => $inputobj );
    
  4. or download this
            for (@{$self->{menu}}) {
                if ((defined($val) && defined($_->{value}) && $val eq $_->
    +{value}) ||
    ...
                }
                $i++;
            }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://701312]
Approved by kyle
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-04-21 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls