Check out Scalar::Util::blessed. You can also use UNIVERSAL::isa( $obj, 'foo' ).
the lowliest monk
In reply to Re: How to differentiate hash reference and object reference?
by tlm
in thread How to differentiate hash reference and object reference?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |