No such thing as a small change | |
PerlMonks |
Re: Re: RFC: Transactions.pmby Juerd (Abbot) |
on Apr 28, 2003 at 11:17 UTC ( [id://253652]=note: print w/replies, xml ) | Need Help?? |
I'd prefer something like transaction $dbh, { I would prefer that too! But Perl 5's prototypes don't allow that syntax. It requires the "sub" keyword then. I'm not sure if I want that. Also, an additional idea would be to catch die's in the handler and make them execute rollback. Already does that, and has always done that :) Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In Section
Meditations
|
|