Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
what perl operator do i use to convert text such as the letter A into its respective ASCII number and then back again.
so i can use some form of primitive encryption techniques?
vb uses asc(letter) does perl have s'thing similar???
=item ord EXPR
=item ord
Returns the numeric ascii value of the first character of
EXPR. If EXPR is omitted, uses C<$_>. For the reverse,
see L</chr>.
=item chr NUMBER
=item chr
Returns the character represented by that NUMBER in the
character set. For example, C<chr(65)> is C<"A"> in ASCII.
For the reverse, use L</ord>.
If NUMBER is omitted, uses C<$_>.