On Thu, Apr 01, 2004 at 11:17:16AM +0100, Peter Haworth wrote:
> eval imposes its own context:
>
> + $wantarray=wantarray;
> eval {
> ! @result = ($wantarray) ? $coderef->() : scalar $coderef->();
> $dbh->commit if $use_transaction;
> };Yes, thanks. I'd spotted that elsewhere and changed my code. But your email has prompted me to check the rest of the code for that issue. Turned out there weren't any other instances but I did spot a related problem in DBD::Proxy. Thanks. Tim.
