Note that the other suggested solutions of String::Interpolate and eval introduce security risks. For something less risky, see String::Unescape, which only works with a subset of Perl's escape sequences, and AFAICT from a quick look at the source none of them appear to be security-relevant.
In reply to Re: Can't get \n or other character/translation escapes to interpolate if originally read from a data file
by haukex
in thread Can't get \n or other character/translation escapes to interpolate if originally read from a data file
by davebaker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |