Perl-Sensitive Sunglasses | |
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?? |
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.
In Section
Seekers of Perl Wisdom
|
|