in reply to How to tell if a variable is blessed ?
The other alternative is this:ref $var;
eval { $ref->isa("Some::Package") };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to tell if a variable is blessed ?
by linux454 (Pilgrim) on Mar 02, 2006 at 15:07 UTC | |
|
Re^2: How to tell if a variable is blessed ?
by dragonchild (Archbishop) on Mar 02, 2006 at 15:42 UTC |