Question 1: The making of 

my %match = (
   '\\' => '[HAW]',
   '/'  => '[TLJ]',
   '|'  => '[CDGPMY]',
   '_'  => '[ESINB]',
   ' '  => '[OURFKZXQ]',
);