|Problems? Is your data what you think it is?|
Re: variable interpretation while reading from a fileby Anonymous Monk
|on Nov 29, 2013 at 10:37 UTC||Need Help??|
What I am missing here?
When they're in a file that isn't a perl program, and perl isn't executing that file, perl doesn't consider them perl code, so there is no interpolation that perl will do
What you've got there is called a template, so you need a template engine to do interpolation, like String::Interpolate/ String::Interpolate::RE , String::Defer, Interpolation, Template,Text::Xslate...