eval imposes its own context:

+          $wantarray=wantarray;
           eval {
!               @result = ($wantarray) ? $coderef->() : scalar $coderef->();
                $dbh->commit if $use_transaction;
            };

-- 
        Peter Haworth   [EMAIL PROTECTED]
Millihelen:  The amount of beauty required to launch one ship.

Reply via email to