|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Decoding UTF-16 to ASCIIby fauria (Deacon) |
| on Feb 02, 2005 at 17:13 UTC ( [id://427450]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Using a CPAN module for parsing XML is a good idea. XML::Simple is really simple to use. Just:
Then, you can iterate over the hasref, and translate one space into no-space, and two spaces into one:
This node describes how to iterate hashrefs.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||