in reply to oh for y///e
What are you trying to do with the /e switch? eval 'b-zaZA-Y'? I don't see the point. And if you want to eval the result, just do eval y/a-zA-Z/b-zaZA-Y/r while <DATA>;
And if you just put the /e by mistake, just take it away and your code will work just fine.
What are you trying to do with the /e switch? eval 'b-zaZA-Y'? I don't see the point.
$cryped = substitution_cypher();
$text =~ y/a-z/$crypted/e;
eval "\$text =~ y/a-z/$crypted/";
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (287 votes). Check out past polls.