有没有比以下更简洁的方法来将抛出的异常提升为失败?
try { die 'always'; CATCH { default { fail $_ } } }
这是莫里茨代码的更简洁版本。
(try something()) orelse fail $!;