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;
In reply to Re: Re: How to Speed up MySQL w/ Perl
by kiat
in thread How to Speed up MySQL w/ Perl
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |