"Bob Bondi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> My question is: how can I pass arguments to a script from the command
line?
> The script at the tail of this message is what I thought would print the 2
> arguments I passed into the script, yet the ou
Command line arguments are passed to the script in the array '@ARGV', not
'@_'. '@_' is used for subroutines.
-Original Message-
From: Bob Bondi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 12:51 PM
To: [EMAIL PROTECTED]
Subject: Help: Start
My question is: how can I pass arguments to a script from the command line?
The script at the tail of this message is what I thought would print the 2
arguments I passed into the script, yet the output for this snippet is:
Here ya go:
Here ya go:
Count is: 0
Not enough arguments to get started
#\