monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Most Revered Monks,
How can I convert the ASCII strings like this, for example:
Is there a compact way to do it with Perl?
Regards,
Edward
How can I convert the ASCII strings like this, for example:
into its decimal format like this:_DATA__ ORQ>IK FDC
Hence, the output for each strings is an array of decimal values. Each decimal values correspond to every character in ASCII string.79 82 81 62 73 75 70 68 67
Is there a compact way to do it with Perl?
Regards,
Edward
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Converting ASCII string to Decimal
by jdporter (Paladin) on Dec 22, 2008 at 14:51 UTC | |
Re: Converting ASCII string to Decimal
by BrowserUk (Patriarch) on Dec 22, 2008 at 14:57 UTC |
Back to
Seekers of Perl Wisdom