[Chicago-talk] Asking an class for its method list
Steven Lembark
lembark at wrkhors.com
Mon Jan 26 00:05:18 CST 2004
> AUTOLOAD is trouble yeah :) Module::Info has a useful superclasses()
> method to get at parent classes, which (with a bit of recursion) can
> return the subs:
Which means it may not handle auto-splits either.
Again, why would someone need this -- aside from
auto-documenting code? Calling "can" will tell you
if something has the method and deals with AUTOLOAD
gracefully.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 888 359 3508
More information about the Chicago-talk
mailing list