Why does "try" not cause an undefined subroutine error? (stackoverflow.com)stack
10 points by w.k in stackoverflow.com · 7y ago · stack
A couple of times I've ran into the situation where I've forgotten to load the Try::Tiny module in my script and I've still used its try-catch block, like this: #!/usr/bin/env perl use strict; use warnings; try { call_a( 'x' ); } catch { die "ACTUALLY die $_"; }; sub call_a { di…
filed under perl