This is pretty much what Modern::Perl itself does. So just check its source; it's both terse and straightforward. Other modules that do similar things might also be interesting to look at, like utf8::all or Moose. Related enough to mention though not really what you're asking after: Sub::Exporter; note that it doesn't mix well with messing with import manually.
In reply to Re: Module mechanics question
by Your Mother
in thread Module mechanics question
by Logicus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |