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:
What gets run is actuallyc:\> script.pl foo bar baz
So if a program doesn't use @ARGV, it doesn't care it's being omitted.perl script.pl
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 |