in reply to Re: Getting module to call importer's function
in thread Getting module to call importer's function
That's potentially too smart by half.
sub x { my $package = caller(); my $sub = $package->can( '_x' ); return unless defined $sub; $sub->( @_ ); }
|
|---|