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

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

by Aldebaran (Curate)
on Apr 21, 2020 at 03:22 UTC ( [id://11115856]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ ./6.1.pluto.pl 
    say (...) interpreted as function at ./6.1.pluto.pl line 47.
    2020/04/20 20:10:39 Connected to ws://127.0.0.1:40757/devtools/browser
    +/10f7d706-4dbd-4073-a438-916f6602fb4c
    found the one and only form
    Invalid rule, couldn't parse '//*[@name="date", node => $mech->current
    +_form ]' at /usr/local/share/perl/5.26.1/HTML/Selector/XPath.pm line 
    +283.
    $
    
  2. or download this
    #! /usr/bin/perl
    use warnings;
    use strict;
    ...
    my $string = $mech->uri;
    say ("We are at $string")
      if $mech->success();
    

Log In?
Username:
Password:

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

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

    No recent polls found