in reply to Object oriented plugin interface

I see what you're trying to do, but trying to do Object-Oriented programming without using strict is a sure recipe for trouble.

Also, I wouldn't have your "load" routine print the plugins that it is loading. It should return a list of successfully required plugins (and you should also check to see if the require is successful). If someone wants to use something like this, they may be very annoyed to see all of those print statements spilling out on their console.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

  • Comment on (Ovid) Re: Object oriented plugin interface