in reply to conditional catch-blocks 'try {} catch(COND) { }'

Here’s the try/catch I wish we had:
sub foo { some_code(); catch { print “ignoring $@”; say “$_ would be the exact string thrown, without ‘at line…’”; } } sub bar { some_code(); catch ClassName::Xyz { … } catch /pattern/ { … } catch ($_ && $_ !~ /io/ && do { … }) { … } }

pretty sure the only way that could ever happen is with a source filter. Or, if there was a way to intercept the construction of the OP tree and manipulate it…