in reply to Re: Re: Problem with ActivePerl 5.6.1 and @ARGV
in thread Problem with ActivePerl 5.6.1 and @ARGV

If the problem was just with the file association, then am I right in thinking that *all* my scripts would have been broken, not just the ones using @ARGV? Any further advice much appreciated!

No, only the programs that use @ARGV would suffer. Assuming the problem is that your file association says "when you run script.pl, execute 'perl <scriptname>'". That means that if you type:

c:\> script.pl foo bar baz
What gets run is actually
perl script.pl
So if a program doesn't use @ARGV, it doesn't care it's being omitted.

Does that make sense?

-- Dan

Replies are listed 'Best First'.
Re: (z) Re^3: Problem with ActivePerl 5.6.1 and @ARGV
by mooseboy (Pilgrim) on Dec 13, 2002 at 15:55 UTC

    Does that make sense?

    Yes, thanks for the explanation! Hey, I just noticed today's date ... shoulda stayed at home ;-)