Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by Corion (Pope)
on Apr 19, 2020 at 06:28 UTC ( #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? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-10-20 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (79 votes). Check out past polls.

    Notices?