You want to look at the ref function. For more complex checks (to see if an object is a subclass of another object of if an object implements a certain method) then look at the isa and can methods from UNIVERSAL and the blessed function from Scalar::Util.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: opening files using handles, objects etc
by davorg
in thread opening files using handles, objects etc
by ftumsh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |