From: "Dennis G. Wicks" <[EMAIL PROTECTED]>
> I just did extensive testing using ActiveState perl on XP-Pro
> and I get the exact same results.
>
> C:\DATAFI~1>argv.pl testfile
>
> gives the unitialized variable message but
>
> C:\DATAFI~1>perl argv.pl testfile
>
> works as expected.
It ain'
08:29:45 -0400 (EDT)
> > From: Jeff 'japhy' Pinyan <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: Larry Wissink <[EMAIL PROTECTED]>
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Confused about supplying command line argum
y' Pinyan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 5:30 AM
To: Larry Wissink
Cc: [EMAIL PROTECTED]
Subject: Re: Confused about supplying command line arguments and using
@ARGV
On Jun 2, Larry Wissink said:
>I want to supply the name of a file on the command line when executing
400 (EDT)
> From: Jeff 'japhy' Pinyan <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Larry Wissink <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: Confused about supplying command line arguments and using
> @ARGV
>
> On Jun 2, Larry
On Jun 2, Larry Wissink said:
>I want to supply the name of a file on the command line when executing a
>script. Unfortunately, I'm getting an error that says that @ARGV is
>uninitialized.
>
>How do you initialize @ARGV? How do you specify command line arguments?
You don't initialize @ARGV. It