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

Re: query about perl

by linuxer (Curate)
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.

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 taking refuge in the Monastery: (5)
As of 2016-06-26 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (330 votes). Check out past polls.