Yes, the value you return from your program with exit() will be available to the %ERRORLEVEL variable in your batch file
/J\
In reply to Re: Return a value from Perl pgm called by a dos bat file
by gellyfish
in thread Return a value from Perl pgm called by a dos bat file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |