in reply to Re^2: Prototype "foo {...} bar {...}" is documented?
in thread Prototype "foo {...} bar {...}" is documented?
Just to note: you can throw an error object with die. You can throw anything with die.
eval { die new MyException("foo"); }; if (UNIVERSAL::isa($@, 'MyException') { print "Then my example worked!" }
Ted Young
($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Prototype "foo {...} bar {...}" is documented?
by nothingmuch (Priest) on Nov 22, 2004 at 16:27 UTC | |
by ihb (Deacon) on Nov 24, 2004 at 01:42 UTC | |
by nothingmuch (Priest) on Nov 24, 2004 at 06:54 UTC |