Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: detect input available from command line

by Eliya (Vicar)
on Mar 10, 2011 at 22:02 UTC ( #892545=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (@ARGV or !-t STDIN and !eof()) {
        while (<>) {
            ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2023-03-23 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?