Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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.


Comment on One more minor item to consider.

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 pondering the Monastery: (5)
As of 2014-12-27 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls