Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by jdporter (Canon)
on Oct 02, 2007 at 17:52 UTC ( #642191=note: print w/ replies, xml ) Need Help??


in reply to Re^3: How to write a program to read stdin or command line?
in thread How to write a program to read stdin or command line?

...just shift off any required arguments from @ARGV...

Exactly. Or, if it makes sense, use something a little more sophisticated, such as Getopt::Long, to extract them from the @ARGV array.

A word spoken in Mind will reach its own level, in the objective world, by its own weight


Comment on Re^4: How to write a program to read stdin or command line?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-07-31 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls