Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Does IO::Select work? Solution

by Mr. Muskrat (Canon)
on Oct 25, 2012 at 17:58 UTC ( #1000912=note: print w/replies, xml ) Need Help??


in reply to Re: Does IO::Select work? Solution
in thread Does IO::Select work? Anywhere?

When I only care about readable handles, I prefer to use can_read rather than select.

my @new_readable = $readable_handles->can_read(0);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000912]
help
Chatterbox?
[Wcool]: hi
[Wcool]: I have this really weird behaviour of printing lines in a file
[Wcool]: Iam on linux and open a file, do some subs and then write it to a new file
[Wcool]: all fine
[Wcool]: but when I add something like this
[Wcool]: $lLine .= "$DECIMAL_FORMAT\n ";
[Wcool]: suddenly all the line are printed with ^M

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2018-01-16 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (183 votes). Check out past polls.

    Notices?