SPUG: Does a class module support a method?
Sanford Morton
smorton at pobox.com
Wed Jan 26 13:49:41 CST 2000
I have a module which creates an internal or private object from a
class module. In my module, I can use can() to determine if the object
supports certain methods.
What can I do in the script which uses my module, but which does not
routinely have access to the internal object, to determine if that
private object supports certain methods? Presumably, I cannot use
can() in the script without creating a useless instance from the class
module.
I hope to make the E-spug meeting tonight.
Sandy
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list