Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 contemplating the Monastery: (5)
As of 2015-07-04 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls