Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: query about perl

by linuxer (Deacon)
on Jun 18, 2010 at 13:27 UTC ( #845374=note: print w/ replies, xml ) Need Help??


in reply to query about perl

Try print $ARGV[0].

Addendum:

Extracted from perlvar

@ARGV The array @ARGV contains the command-line arguments intended for the s +cript. $#ARGV is generally the number of arguments minus one, because + $ARGV[0] is the first argument, not the program's command name itsel +f. See $0 for the command name.


Comment on Re: query about perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-12-27 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls