initialize a map: the map should be read as replace the characters X by the string stored at $MAP[ ord('X') ] Note: the value stored $MAP[ ord('X') ] can be a single char (string length=1) or a string at this time any other value is not handled: IVs, NVs, ...
Set your replacement characters
To install Char::Replace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Char::Replace
CPAN shell
perl -MCPAN -e shell install Char::Replace
For more information on module installation, please visit the detailed CPAN module installation guide.