Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: HoH keys with trailing white spaces ????

by keszler (Priest)
on Dec 10, 2011 at 14:13 UTC ( #942810=note: print w/ replies, xml ) Need Help??

Comment on Re: HoH keys with trailing white spaces ????
Replies are listed 'Best First'.
Re^2: HoH keys with trailing white spaces ????
by 3dbc (Scribe) on Dec 10, 2011 at 14:32 UTC
    I love this part "The default is false (although it is possible that the default may change)"

    So simple; $dbh->{ChopBlanks} = 1; works great. Thank you!

    No need for any more code to reinvent the wheel, just a simple & silly little DBI setting...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://942810]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2015-07-29 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls