in reply to Re^4: Prototype "foo {...} bar {...}" is documented?
in thread Prototype "foo {...} bar {...}" is documented?
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Prototype "foo {...} bar {...}" is documented?
by nothingmuch (Priest) on Nov 24, 2004 at 06:54 UTC |