in reply to (tye)Re: Stringing method calls
in thread Stringing method calls
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: Stringing method calls
by tye (Sage) on Oct 11, 2001 at 01:28 UTC |