I just upgraded from TCMD9 to TCMD12 and I'm seeing some different functionality when running a Perl script from the command line.
I have a Windows file association that links perl.exe with the file extension ".pl"
I am getting different TCMD functionality when:
1) I rely on the ".pl" file association to start Perl; AND
2) I pass parameters to the Perl script.
The Perl script test_argv.pl is just 1 line:
print "argv[0]: $ARGV[0]\n";
In TCMD12:
[w:\]test_argv.pl robert
argv[0]:
[w:\]perl test_argv.pl robert
argv[0]: robert
In TCMD9:
[w:\]test_argv.pl robert
argv[0]: robert
I prefer the functionality of TCMD9.
The TCMD12 functionality is problematic because I have many batch files that just call the perl script without specifically calling perl.exe.
Is there an option I haven't set properly in TCMD12?
I have a Windows file association that links perl.exe with the file extension ".pl"
I am getting different TCMD functionality when:
1) I rely on the ".pl" file association to start Perl; AND
2) I pass parameters to the Perl script.
The Perl script test_argv.pl is just 1 line:
print "argv[0]: $ARGV[0]\n";
In TCMD12:
[w:\]test_argv.pl robert
argv[0]:
[w:\]perl test_argv.pl robert
argv[0]: robert
In TCMD9:
[w:\]test_argv.pl robert
argv[0]: robert
I prefer the functionality of TCMD9.
The TCMD12 functionality is problematic because I have many batch files that just call the perl script without specifically calling perl.exe.
Is there an option I haven't set properly in TCMD12?