in reply to Re: Possible Stupid Perl Trick - Importing method into object class?
in thread Possible Stupid Perl Trick - Importing method into object class?

This is a good plan, however what do you do with a function that has a bug? I would be very loathe to do that kind of run-time evaluation of potentially tainted code in production.

Better (and safer!) is to have everything there at compile-time, using import (as I said above).

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

  • Comment on Re: Re: Possible Stupid Perl Trick - Importing method into object class?