Aha! There was one of the problems, I had been using eval { ... }; if ($@) { ... } instead of eval { ...; 1 } or do { ... }; and the latter worked as intended, trapping the error raised in a deeper module by bad data. I've tracked down the cause of my script making the bad data now but have to redesign a bit of the work flow.
After that, I folded the core "try" feature now, with good results. Although the script now warns that "try" is experimental.
In reply to Re^2: Which incarnation of try/catch to use?
by mldvx4
in thread Which incarnation of try/catch to use?
by mldvx4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |