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

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

by marto (Cardinal)
on Apr 19, 2020 at 09:02 UTC ( [id://11115788]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    foreach my $cast ( $dom->find('table.cast_list > tr:not(:first-child)'
    +)->each ){
      say trim ($cast->at('td:nth-of-type(2) > a')->text ) . ' as ' . trim
    + ( $cast->at('td.character')->all_text );
    }
    
  2. or download this
    Caddyshack (1980)
    Chevy Chase as Ty Webb
    ...
    Ann Ryerson as Grace
    Brian Doyle-Murray as Lou Loomis
    Hamilton Mitchell as Motormouth
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-19 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found