Cool. My only nit with it (and it's a nano-nit) is that $pkg is being passed as an arg to export_to_level, which gives the mistaken impression that it means something, when in fact that argument is ignored. Do you happen to know of plans to make that argument actually meaningful in the not-too-distant future? If not, I'd make that line
__PACKAGE__->export_to_level($level, undef, @EXPORT) if $pkg;
the lowliest monk
In reply to Re: use base 'XYZ' and exporting
by tlm
in thread use base 'XYZ' and exporting
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |