Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by Aldebaran (Curate)
on Apr 30, 2020 at 04:32 UTC ( [id://11116259]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use Mojolicious::Lite;
     
    ...
     
    app->start;
    __END__
    
  2. or download this
    $ ./1.mojo.pl daemon
    [2020-04-25 19:20:12.17317] [2970] [info] Listening at "http://*:3000"
    Server available at http://127.0.0.1:3000
    ^C$
    
  3. or download this
    <c>full XPath: /html/body/form/center/table/tbody/tr[1]/td/table/tbody
    +/tr[3]/td[1]/input
    
    selector: body > form > center > table > tbody > tr:nth-child(1) > td 
    +> table > tbody > tr:nth-child(3) > td:nth-child(1) > a
    ...
    XPath:      /html/body/form/center/table/tbody/tr[1]/td/table/tbody/tr
    +[3]/td[1]/a
    
    JSPath: document.querySelector("body > form > center > table > tbody >
    + tr:nth-child(1) > td > table > tbody > tr:nth-child(3) > td:nth-chil
    +d(1) > a")
    
  4. or download this
    [
                                        "tag",
                                        "input",
    ...
                                          type     => "text",
                                          value    => 2458963.36684,
                                        },
    

Log In?
Username:
Password:

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

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

    No recent polls found