guice has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing this application that's going to run as a CGI script on a FreeBSD system. I want to make it as expandable as possible ... Then it hit me, a plugin based perl application. It only has features of the plugins that I put into a select directory.
My question is quite simple. What are your all's thoughts on implementing something like this? I have a general basis on how to do this, but I thought I'd get some feedback from the Perl community and see how they would approach this.
Any thoughts?
I've thought of using a public variable (via export or use vars) that will store actions mapped to the functions that take care of them.
And A public object was passed my way. Now, I'm not tooo... sure about the implementation on this. Inheritance is not as clear in Perl as it is in C++. Or an I totally thinking the wrong direction with this idea?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Plugin based Perl app
by chromatic (Archbishop) on Apr 25, 2000 at 08:14 UTC | |
Re: Plugin based Perl app
by perlmonkey (Hermit) on Apr 25, 2000 at 08:35 UTC | |
Re: Plugin based Perl app
by ZZamboni (Curate) on Apr 25, 2000 at 17:42 UTC |
Back to
Seekers of Perl Wisdom