Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: stuck with WWW::Mechanize drop down list

by spazm (Monk)
on Jun 02, 2012 at 01:02 UTC ( #973903=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $browser->follow_link( text_regex => qr/Download as TAB/i );
    print $browser->content();  # prints TAB delimited file to STDOUT
    
  2. or download this
    $browser->follow_link( text_regex => qr/Download as TAB/i );
    if ( my $filename = $browser->res->filename )
    ...
        print $fh $browser->content;
        close $fh;
    }
    
  3. or download this
    #!env perl
    use strict;
    ...
        print $fh $browser->content;
        close $fh;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (17)
As of 2014-10-23 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls