![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^4: Reading (the same) data in different ways & memory usageby Tux (Canon) |
on Apr 19, 2011 at 18:42 UTC ( [id://900192]=note: print w/replies, xml ) | Need Help?? |
If the target fields in the database are of type CHAR (not VARCHAR), you can make DBI do so by: $dbh->{ChopBlanks} = 1;Some DBD's do extend this behavior to VARCHAR fields (when the database it too stupid to do so itself, as the ANSI standard tells it to) or when VARCHAR effectively is a CHAR internally (because the database doesn't support VARCHAR). YMMV Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|