in reply to Importing functions into packages - globs vs use

That code is doing a little bit of black magic to replace part of a module without changing the module source. I talk about that the Dynamic Subroutines chapter of Mastering Perl (and it shows up in a few other chapters too). It can be a very handy way to fix a module and not see your changes disappear when an admin updates the module.

--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review
  • Comment on Re: Importing functions into packages - globs vs use