Think about Loose Coupling | |
PerlMonks |
Regex converting Binary to ASCIIby growlf (Pilgrim) |
on Mar 19, 2002 at 22:48 UTC ( [id://152877]=perlquestion: print w/replies, xml ) | Need Help?? |
growlf has asked for the wisdom of the Perl Monks concerning the following question: Hi folx. Got an odd one that I am sure is simple - but all the reading of http://www.perldoc.com/perl5.6.1/pod/perlre.html does not clear it up for me. I am helping a comrade out, and what he wants to do is take a given string that has some ASCII codes in it, convert them to ASCII characters and hand it back. I thought I could do this in a single regex - but so far I seem to be missing something. I also need to state that the ASCII values are in decimal - not hex, wide hex, or oct - and this further confused my as to a solution. Thank you for any help you give on this. *G*
Back to
Seekers of Perl Wisdom
|
|