Re: ignoring exceptions

2006-01-19 Thread DZ-Jay
DZ-Jay wrote: Yes. And as a bonus, I don't have to separate the sections by commas because each block will be executed in turn, and its return value (usually 1, or maybe even a reference to its closure) is taken as an argument to the previous block, so try {} CATCH {} FINALLY {}; is the e

Re: ignoring exceptions

2006-01-19 Thread DZ-Jay
David Nicol wrote: On 1/19/06, DZ-Jay <[EMAIL PROTECTED]> wrote: Hello: This might sound like a stupid question, I'm guessing that your current syntax works because you have declared prototypes for CATCH and POST of (\&) which coerces the block given as their arguments into a coderef?

Re: ignoring exceptions

2006-01-19 Thread David Nicol
On 1/19/06, DZ-Jay <[EMAIL PROTECTED]> wrote: > Hello: > This might sound like a stupid question, I'm guessing that your current syntax works because you have declared prototypes for CATCH and POST of (\&) which coerces the block given as their arguments into a coderef? A pretty big synt

ignoring exceptions

2006-01-19 Thread DZ-Jay
Hello: This might sound like a stupid question, but I thought I'd ask anyway just in case there is some hidden magic in Perl that I am not aware of. My question is this: I am attempting to write an Exception handler class for Perl 5.x (don't ask why, lets just say its an experiment or test