Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by stevenrh (Beadle)
on Oct 05, 2004 at 18:35 UTC ( [id://396709]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $file = '/home/steven/http.list';
    open(INFO, $file);
    @lines = <INFO>;
    close(INFO);
    
  2. or download this
    foreach $i(@lines){
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    die "Could not create socket: $!\n" unless $sock;
    print $sock ""this is where i need my http statement to go (from the f
    +ile list";
    close($sock);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found