- Jul
- 198
- 2
I have
- installed Perl: C:\Perl64\bin\Perl.exe
- D:\local\testperl.btm
- executable extension: set .pl=D:\local\testperl.btm
- testdie.pl
When I execute
- under V24 it prints
i.e. the echo from the BTM and both messages (Perl's
- under V25 it prints only
i.e. the first message (Perl's
It seems the executable extension mechanism is involved: if I execute
- installed Perl: C:\Perl64\bin\Perl.exe
- D:\local\testperl.btm
Code:
C:\Perl64\bin\Perl.exe %*
- testdie.pl
Code:
print "my test print message\n";
die "my test die message\n";
When I execute
testdie
from the command line,- under V24 it prints
Code:
C:\Perl64\bin\Perl.exe D:\TXS\testdie.pl
my test print message
my test die message
print
goes to STDOUT, Perl's die
goes to STDERR)- under V25 it prints only
Code:
my test print message
print
to STDOUT) and I don't see the second message (Perl's die
to STDERR).It seems the executable extension mechanism is involved: if I execute
C:\Perl64\bin\perl.exe testdie.pl
directly, without using the executable extension, I get both messages (Perl's print
to STDOUT, Perl's die
to STDERR).