Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

One more minor item to consider.

by htoug (Deacon)
on Jul 11, 2003 at 08:28 UTC ( #273285=note: print w/replies, xml ) Need Help??


in reply to SQL - Subroutine always returning true

Some databases return trailings blanks in fixed length string fields. This can cause 'eq' comparisons to fail.
To remove the blanks, set $dbh->{ChopBlanks}=1.

Yes, I know that this was not he problem here, but it doesn't hurt to remind people of the pitfalls given an opportunity.

/me leaving soapbox.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://273285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-08-31 23:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (437 votes). Check out past polls.