kalyanrajsista has asked for the wisdom of the Perl Monks concerning the following question:
I'm looking for a simple code to strip spaces in keys and values in a hash
I've a work-around to loop around hash, create another hash with stripped values, but I'm looking for one-liner solution
Thanks in advance
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strip spaces in hash
by AnomalousMonk (Archbishop) on Dec 09, 2009 at 12:49 UTC | |
by ikegami (Patriarch) on Dec 09, 2009 at 17:38 UTC | |
by AnomalousMonk (Archbishop) on Dec 09, 2009 at 19:26 UTC | |
|
Re: Strip spaces in hash
by roboticus (Chancellor) on Dec 09, 2009 at 12:51 UTC | |
|
Re: Strip spaces in hash
by dHarry (Abbot) on Dec 09, 2009 at 11:20 UTC |