$cryped = substitution_cypher(); $text =~ y/a-z/$crypted/e; #### eval "\$text =~ y/a-z/$crypted/";