Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: open a socket and print from stdin....i think

by ides (Deacon)
on Oct 05, 2004 at 18:52 UTC ( [id://396717]=note: print w/replies, xml ) Need Help??


in reply to open a socket and print from stdin....i think

I think you should look into the LWP modules. It will simplify this for you greatly by removing all of the networking complexity for you. Here is an example:
use LWP::Simple; # insert your code to populate @lines here foreach my $url (@lines) { my $content = get($url); }

-----------------------------------
Frank Wiles <frank@wiles.org>
http://www.wiles.org

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found