## untested sub AUTOLOAD { my $sub = $AUTOLOAD; croak("Unknown method: $sub") unless defined &$sub; my($o, $arg) = @_; eval { &$sub( $arg ) }; $o->LOG("error", "$arg: $@") if $@; }
_________
broquaint
In reply to Re: My first thought was to build a macro... was I right?
by broquaint
in thread My first thought was to build a macro... was I right?
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |