On Thu, 2002-05-02 at 15:32, Josef E. Galea wrote:
> How can I pass parameters (eg: a file name) to a Perl script
> 
> Josef

@ARGV contains the arguments to the script.  So if I say

prog.pl first 2 third

then $ARGV[0] is 'first', $ARGV[1] is 2, and $ARGV[2] is 'third'.

-- 
Today is Boomtime the 49th day of Discord in the YOLD 3168
Kallisti!

Missile Address: 33:48:3.521N  84:23:34.786W


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to