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

Re: reading from a socket, a little at a time

by Anonyrnous Monk (Hermit)
on Feb 15, 2011 at 21:20 UTC ( [id://888391]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        }
        close $client;
    }
    
  2. or download this
    #!/usr/bin/perl -wl
    use strict;
    ...
        print "$count: @data";
    }
    close $sock;
    
  3. or download this
    $ ./888339_c.pl
    3: 1 1 1
    ...
    3: 14 14 14
    1: 15
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2025-03-17 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (54 votes). Check out past polls.