If you run some very simple tests and then show the code and the output, you're likely to get a far more informative response. When you don't provide such information, we can only guess. Here's an example:
C:\_\tmp>perl -e "print qq{@ARGV\n};" arg1 arg2 arg3 arg1 arg2 arg3 C:\_\tmp>perl test_args.pl arg1 arg2 arg3 arg1 arg2 arg3 C:\_\tmp>test_args.pl arg1 arg2 arg3 arg1 arg2 arg3 C:\_\tmp>type test_args.pl print qq{@ARGV\n}; C:\_\tmp>
The above was run on Windows XP so it doesn't help troubleshoot a Windows 7 problem.
-- Ken
In reply to Re: Passing arguments
by kcott
in thread Passing arguments
by jsPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |