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?
In reply to Re^2: Is there a way to find out what kind of ref an object is? (isa)
by adrianh
in thread Is there a way to find out what kind of ref an object is?
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |