#!/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"))'
In reply to Re: Need help getting the content from a link
by rob_au
in thread Need help getting the content from a link
by sheltem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |