and then in your module generously use code like:sub error_out { defined(wantarray()) ? shift : croak("Untrapped error '$_[0]'"); }
return error_out($failure) if $failure;
In reply to Re (tilly) 2: Stringing method calls
by tilly
in thread Stringing method calls
by mirod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |