Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How to get a package by telnet

by arturo (Vicar)
on Apr 28, 2003 at 14:29 UTC ( [id://253706]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use LWP; # or is that LWP::Simple ???
    ...
    
    my $url = "http://www.perlmonks.org";
    my $content = get( $url );
    
  2. or download this
    
    package record;
    ...
    my $url = "http://www.perlmonks.org";
    my $content = get( $url );
    
  3. or download this
    
    package record;
    ...
    
    my $url = "http://www.perlmonks.org";
    my $content = get( $url );
    
  4. 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
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://253706]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-25 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found