How To Process System Exit Codes Using Perl Eval

Author: , March 9th, 2021

The trick to using eval to catch shell execution is to return twice, once inside the eval and once outside:

Neat!