|Perl Monk, Perl Meditation|
Converting ASCII string to Decimalby monkfan (Curate)
|on Dec 22, 2008 at 14:46 UTC||Need Help??|
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:
into its decimal format like this:
Hence, the output for each strings is an array of decimal values. Each decimal values correspond to every character in ASCII string.
Is there a compact way to do it with Perl?