XP is just a number | |
PerlMonks |
Re: opening files using handles, objects etcby davorg (Chancellor) |
on Jul 06, 2006 at 10:11 UTC ( [id://559533]=note: print w/replies, xml ) | Need Help?? |
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.
-- <http://dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|