I\'m reading strings from a file. Those strings contain escape sequences which I would like to have evaluated before processing them further. So I do:
$t = e
$string =~ s/\\([rnt'"\\])/"qq|\\$1|"/gee
string eval can solve the problem too, but it brings up a host of security and maintenance issues, like @ in string