L
lsyx
I use Active Perl on Windows and had set the %PATHEXT%=%PATHEXT
%;.PL;
When I use the script a.pl on cmd.exe,
"perl a.pl xxx" can work correctly.
"a xxx" can not catch @ARGV.
I don't know how to config it?
thanks very much.
-----------CMD---------
E:\tmp>perl a.pl xxx
a.pl start
xxx
a.pl end
E:\tmp>a.pl xxx
a.pl start
a.pl end
E:\tmp>a xxx
a.pl start
a.pl end
-----------CMD---------
%;.PL;
When I use the script a.pl on cmd.exe,
"perl a.pl xxx" can work correctly.
"a xxx" can not catch @ARGV.
I don't know how to config it?
thanks very much.
-----------CMD---------
E:\tmp>perl a.pl xxx
a.pl start
xxx
a.pl end
E:\tmp>a.pl xxx
a.pl start
a.pl end
E:\tmp>a xxx
a.pl start
a.pl end
-----------CMD---------