Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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: (4)
As of 2014-07-13 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (249 votes), past polls