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;
    }