Not sure if this is the right forum. But I need to put together a script that I can give someone that has no perl knowledge. The script will be used to do character substitutions. While s/something/else/g is doable, I'm curious if it is possible to create a table or matrix of a hash? Where @ = at or ñ = n. As we find additional characters that need defined, we can modify the hash without adding additional lines of code to handle the substitution.

If I understand your situation, it sounds possible. The "do" function might be what you are looking for, eval is another option but "do" should be better. You want to read the "do EXPR" section of the "do" manpage: