Mercurial > repl
diff get-webpage.pl @ 4:c0a7582262fd
added new javadoc script to deal with lack of xinemera
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 27 Dec 2011 23:26:48 -0700 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/get-webpage.pl Tue Dec 27 23:26:48 2011 -0700 1.3 @@ -0,0 +1,7 @@ 1.4 +#!/usr/bin/perl 1.5 + 1.6 + 1.7 +print $ARGV[0]; 1.8 +use WWW::Mechanize::Firefox; 1.9 +my $mech = WWW::Mechanize::Firefox->new(autoclose => 0); 1.10 +$mech->get($ARGV[0]);