Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
We don't bite newbies here... much
 
PerlMonks  

Re^2: How to write a program to read stdin or command line?

by ikegami (Pope)
on Oct 02, 2007 at 15:27 UTC ( #642138=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $input = @ARGV ? shift(@ARGV) : <STDIN>;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2013-06-19 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (639 votes), past polls