in reply to Return a value from Perl pgm called by a dos bat file
The code above prints "5" , which is what the %ERRORLEVEL% gets set to.perl -e "exit 5" echo %ERRORLEVEL%
By guaranteeing freedom of expression, the First Amendment also guarntees offense.