In article <>,
Uri Guttman <> wrote:
>how would you use can() for introspection? you would have to search all
>possible strings and run can() on them.
yep that's what i do, spares one eval statement...
that way i can separate also what are variables...
BTW a chance to easily try to extrapolate what return type the subs
might have (means without actually executing them...)?
>also with AUTOLOAD you can't fully tell what methods are there. autoload
>can handle any method, or decide what is available at run time or
sure...
but not in my code
>whatever. i find the concept of introspection to be weak and not needed
>much. but others seems to live on it. either you know the classes you
>want or you don't.
well in most cases yes, when you are debugging a non working CORBA
framework (at least non working for me...) with perl objects that have no
(or nearly no) documentation, it can come in quite handy...
ciao
Bruno
Bruno.Boettcher at visualsphere dot com
================================================== ============
Unsolicited commercial email is NOT welcome at this email address
--
ciao
Bruno
Bruno.Boettcher at visualsphere dot com