in reply to Re: Is there a way to find out what kind of ref an object is? (isa)
in thread Is there a way to find out what kind of ref an object is?
neither are any of the techniques I've seen that aren't unreasonably complicated, unfortunately.
Is:
use Scalar::Util qw( reftype ); ... print "$ref is a ", reftype( $ref ), "\n";
unreasonably complicated?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is there a way to find out what kind of ref an object is? (isa)
by tye (Sage) on Dec 07, 2005 at 19:41 UTC | |
by adrianh (Chancellor) on Dec 08, 2005 at 10:36 UTC | |
|
Re^3: Is there a way to find out what kind of ref an object is? (isa)
by chromatic (Archbishop) on Dec 07, 2005 at 16:57 UTC | |
by adrianh (Chancellor) on Dec 08, 2005 at 10:36 UTC |