-----Original Message-----
> From: Tom Metro
> Sent: Monday, August 08, 2011 12:48 PM
> Subject: [Boston.pm] module introspection

> 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.

Thinking a bit outside the (Perl) box, that's what tcl was invented for:

http://www.tcl.tk/about/language.html

The section "Where do commands come from?" reads very similar to your email.


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

Reply via email to