in reply to Return a value from Perl pgm called by a dos bat file
Yes, the value you return from your program with exit() will be available to the %ERRORLEVEL variable in your batch file
/J\