Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by ides (Deacon)
on Oct 05, 2004 at 18:52 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2023-09-30 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?