Using just $@->isa(...) on the other hand errors if $@ isn't an object.
So I guess you're down to a combination with &blessed from Scalar::Util: blessed($@) and $@->isa(...).
ihb
See perltoc if you don't know which perldoc to read!
Read argumentation in its context!
In reply to Re^5: Prototype "foo {...} bar {...}" is documented?
by ihb
in thread Prototype "foo {...} bar {...}" is documented?
by gmpassos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |