in reply to Perl try { } catch(e) { }

"... for portability reasons."

Welcome to the 21st Century, where that is no longer a valid excuse. Add the appropriate package to your deploy policy and let your configuration management solution do the rest.

You do have a configuration management solution, don't you? ;)

Replies are listed 'Best First'.