Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Form letters: eval a string to substutite perl variablesby brycen (Monk) |
on Oct 27, 2006 at 22:38 UTC ( [id://581036]=note: print w/replies, xml ) | Need Help?? |
Here's what I want to do more clearly. Given a file:
I want to slurp it in: Then substitue in a loop: The idea is to use perl syntax and the perl parser for the substitution, rather than a made up syntax (e.g. %NAME% and s/%NAME%/$name/). Is this crazy?
In Section
Seekers of Perl Wisdom
|
|