I have a command line utility I am developing that I'd like to be
extendable with additional "verbs" such that you can do:

command verb ...args...

And I'd like the utility to be able to support new verbs by merely
having a module added to a designated directory. Thus I'd like my code
to be able to use some form of introspection to extract the new verbs
(designated methods) from the modules.

There are dozens of ways to do this, from explicitly listing modules and
methods in a config file, or using method attributes (like Catalyst, for
example).

What's your favorite approach to this, and why?

 -Tom

-- 
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to