Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: running an example script with WWW::Mechanize* module

by Corion (Patriarch)
on Apr 19, 2020 at 06:28 UTC ( [id://11115779]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      say $mech->current_form->{name};    # ??
      # Use of uninitialized value in say at ./5.pluto.pl line 55.
    
  2. or download this
    # largely untested
    my @date_fields = $mech->selector('.//*[@name="date"]', node => $self-
    +>current_form );
    $mech->set_field( $date_fields[1] => $guess );
    
  3. or download this
     $mech->set_fields( $name => [ 'foo', 2 ] );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-28 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found