Condider also if you'd be better off using UNIVERSAL::isa which given an object and a package tells you if the object can be treated as being of the class defined by that package (including any subclasses).
In reply to Re^2: How do I query the package name of an object?
by nobull
in thread How do I query the package name of an object?
by nmerriweather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |