Description
Perl code can use a small try/catch helper that handles exceptions without common problems around the global error variable. This helps developers write clearer error-handling blocks without adopting a large framework.
It is a developer library. Exception handling should still report useful context without leaking secrets, paths, or private input in user-facing messages.