Help for this page

Select Code to Download


  1. or download this
      use WWW::Mechanize::Firefox;
      my $mech = WWW::Mechanize::Firefox->new();
      $mech->get('http://google.com');
    
      my $png = $mech->content_as_png();
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    }
    
  3. or download this
    linux-vi17:/home/martin/perl # perl mecha_test_1.pl
       www.google.com
    ...
    command timed-out at /usr/lib/perl5/site_perl/5.12.3/MozRepl/Client.pm
    + line 186
    linux-vi17:/home/martin/perl #
    
  4. or download this
    urls.txt 
    www.google.com
    ...
    www.bing.com
    www.yahoo.com