in reply to Re: Is dynamic loading of pm's a bad thing?
in thread Is dynamic loading of pm's a bad thing?

Why bother doing this at all? All you've actually done is written more lines of code and made it less portable than it was before.

  • Comment on Re^2: Is dynamic loading of pm's a bad thing?

Replies are listed 'Best First'.
Re^3: Is dynamic loading of pm's a bad thing?
by Roy Johnson (Monsignor) on Jun 25, 2004 at 15:45 UTC
    All you've actually done is written more lines of code and made it less portable than it was before.
    What was it before? How is it less portable now?

    Consider the problem: dynamically loading pm's. That means that the module to be loaded might just be input by a user. You can't just use a hardwired name. The only other solution offered was eval, which comes with security issues.


    We're not really tightening our belts, it just feels that way because we're getting fatter.