Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Recommendations for adding plugin/addon capability to a program

by Laurent_R (Parson)
on Dec 30, 2013 at 21:29 UTC ( #1068779=note: print w/ replies, xml ) Need Help??


in reply to Recommendations for adding plugin/addon capability to a program

OK, now that you have updated your post with more information, I understand better what you are looking for, something like the http://search.cpan.org/~simonw/Module-Pluggable-4.8/lib/Module/Pluggable.pm module might be a good solution.

Another possibility might be to write a module (or use an existing one such as File::Find::xxx) that explores your directory and possibly subdirectories and you can then pass callback functions to this module to do the functional part of the job. Or even possibly passing an array or a hash of callback functions to the module.


Comment on Re: Recommendations for adding plugin/addon capability to a program

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1068779]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2014-09-02 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls