On 4/7/06, chromatic <[EMAIL PROTECTED]> wrote:
> On Friday 07 April 2006 05:32, demerphq wrote:
>
> > Actually afaik there is no good way to find out what dereferencing
> > operators an object supports. The best that I know of is reftype(),
> > but that only tells you the objects underlying intrinsic type, it
> > doesnt tell you if you can dereference the type other ways.
>
> eval { dereference_somehow( $thingie ) }

Sure, thats what i was saying elsewhere too. But I dont consider that
a reasonable solution. Consider if dreferencing it means executing it
and its intended purpose is potentially dangerous.

Yves

--
perl -Mre=debug -e "/just|another|perl|hacker/"

Reply via email to