Yes, you have. Please imagine I'd named that variable $function_name all along and that there was a no strict 'refs'. That is, the error I said I was going to trigger was reasonable for that snippet. That said, if there was some other possible error then the rest of my problem still holds that it's difficult to catch things that happen within a eval {...} without also catching errors from inside that are used within the snippet.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^2: Trapping errors with specificity
by diotalevi
in thread Trapping errors with specificity
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |