in reply to Re^8: substitution not working correctly
in thread substitution not working correctly
I believe I found the problem. It seems as though Perl does not like the spanish characters when I am using it in a hash.
For instance: print "$langhash{'dígito verificador incorrecto.'}\n";.
It looks like I will need to do some research.