in reply to Module mechanics question
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.
|
|---|