How would the main loop know how to parse the SQL for "new" types of comments?
It's not that hard to see a comment format/regex combination that allows for that.
A regex of m[-- class:(\w+)] for instance would pick out a class name that can be combined with some root to require and instantiate the appropriate subclass if available.
In reply to Re^5: OO-Perl Question: How Do I get a List of derived Classes for a Base Class?
by BrowserUk
in thread OO-Perl Question: How Do I get a List of derived Classes for a Base Class?
by BluePerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |