in reply to use of strict ....

You probably meant to write
exit $ERRORS{"CRITITICAL"};
strict helps you :)