![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: Catching DBI (or other) errorsby virtualsue (Vicar) |
on Mar 08, 2006 at 11:24 UTC ( #535144=note: print w/replies, xml ) | Need Help?? |
I suggest that you either replace the curly braces with parentheses, or use 'or' rather than '||':
'or' has a lower precedence than '=', but '||' has a higher precedence, which is what makes parentheses necessary in your original statement.
In Section
Seekers of Perl Wisdom
|
|