Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How do I read data passed to perl script

by phenom (Chaplain)
on Jun 07, 2005 at 11:18 UTC ( #464238=note: print w/ replies, xml ) Need Help??


in reply to How do I read data passed to perl script

For some things, I use @ARGV, and for others, I use the Getopt::Std and Getopt::Long modules at cpan.org. It depends on what your needs are.

#!/usr/bin/perl use strict; use warnings; if(@ARGV) { print "You entered @ARGV\n"; }


Comment on Re: How do I read data passed to perl script
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-07-06 09:33 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 (71 votes), past polls