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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://273285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found