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

Re: Tear it apart...select()

by Chmrr (Vicar)
on Mar 01, 2003 at 22:08 UTC ( [id://239772]=note: print w/replies, xml ) Need Help??


in reply to Tear it apart...select()

select changes the current filehandle, and returns the old one. So that construct changes the current filehandle to STDERR, unbuffers it (with $|++), then selects the 0th element of that list -- which happens to be the return value of the select, which is the original filehandle. That filehandle is then selected.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'

Log In?
Username:
Password:

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

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

    No recent polls found