It would be helpful to look at perlobj. The function that you are looking for is ref. Here is an example from perlobj, that shows what you are looking for:
$a = {}; $b = $a; bless $a, BLAH; print "\$b is a ", ref($b), "\n";
In reply to Re: Is there a way to find out what kind of ref an object is?
by neosamuri
in thread Is there a way to find out what kind of ref an object is?
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |