in reply to Re: How to Speed up MySQL w/ Perl
in thread How to Speed up MySQL w/ Perl
Please enlighten me on the last bit of your code which I reproduced below:
Is there any difference?if ($@) { $dbh -> rollback; die $@; } else { $dbh -> commit; } # Can we leave out the 'else' and just say: if ($@) { $dbh -> rollback; die $@; } $dbh -> commit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to Speed up MySQL w/ Perl
by Abigail-II (Bishop) on May 26, 2004 at 11:59 UTC | |
by kiat (Vicar) on May 26, 2004 at 12:05 UTC |