Are you sure you just don't want to install an AUTOLOAD routine?
package Foo; bar(1,2,3); sub AUTOLOAD { my @args = @_; my ( $package, $func ) = split "::", $AUTOLOAD; print "ARGS: @args\nPKG: $package\nFUNC: $func\n"; }
cheers
tachyon
In reply to Re: Using import to generate subroutines
by tachyon
in thread Using import to generate subroutines
by Thilosophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |