- or download this
ECHO test.bat file starting....
perltest1.pl
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
perltest2.pl
- or download this
use strict;
use warnings;
open my $fh, "<", "bogus file" or die "unable to open file $!";
- or download this
use strict;
use warnings;
print "this is test2";
- or download this
C:....PerlProjects>perltest1.pl
unable to open file No such file or directory at C:......\PerlProject
+s\perltest1.pl line 4.
C:....PerlProjects>IF 2 NEQ 0 EXIT /B 2