Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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 It depends on what your needs are.
#!/usr/bin/perl use strict; use warnings; if(@ARGV) { print "You entered @ARGV\n"; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://464238]
Corion joins another telephone call :-/
[Discipulus]: also The Life and Opinions of the Tomcat Murr
[Discipulus]: I dunno if i can read Dumas in french.. must try some chapter to see
erix . o O( "what fools the french are, Jeeves" )
[choroba]: Also some Достое́вс кий

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2017-05-24 08:08 GMT
Find Nodes?
    Voting Booth?