in reply to Need help getting the content from a link
#!/usr/bin/perl use LWP::Simple; my $content = get 'http://www/mypage.html';
... or passing the URL to the script from the command line ...
#!/usr/bin/perl use LWP::Simple; my $url = shift @ARGV; my $content = get $url;
... or from the command line ...
perl -MLWP::Simple -e 'print get "http://www/mypage.html"'
perl -le 'print+unpack("N",pack("B32","00000000000000000000001000010111"))'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Need help getting the content from a link
by IlyaM (Parson) on Jan 16, 2003 at 10:05 UTC | |
|
Re: Re: Need help getting the content from a link
by sheltem (Novice) on Jan 16, 2003 at 09:11 UTC |