- or download this
use LWP; # or is that LWP::Simple ???
...
my $url = "http://www.perlmonks.org";
my $content = get( $url );
- or download this
package record;
...
my $url = "http://www.perlmonks.org";
my $content = get( $url );
- or download this
package record;
...
my $url = "http://www.perlmonks.org";
my $content = get( $url );
- or download this
# we're in package main by default; any unqualified subroutine referen
+ce
# is understood to refer to a subroutine in the "main" namespace
...
my $url = "http://www.perlmonks.org";
my $content = record::get($url); # because that's the package declared
+ above