|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Need help understanding some code ...by Krambambuli (Deacon) |
| on May 16, 2010 at 09:42 UTC ( #840214=note: print w/ replies, xml ) | Need Help?? |
|
Looking at something like you'll get Key: 'key1', value: 'two_tabs other_two_tabs ' Key: 'key2', value: 'two_nulls_'where the _encoded_ TABs and NULLs are transformed to spaces and respectively eliminated. But as others mentioned already, you shouldn't do this as above if trying to clean up the inputted data but use a module that handles things like this in much more detail. Krambambuli ---
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||