in reply to substitue variables from file
There's also some trick using eval or related (s///ee), but that could cause more trouble than it solves: it's quite errorprone and, worse, a snakepit of security holes.
It really seems to me like you're trying to create a templating system. There's a very good intro articles on templating systems in Choosing a Templating System. Read that first, and see if you still want to go this route.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: substitue variables from file
by azaria (Beadle) on Oct 29, 2005 at 21:44 UTC | |
by dragonchild (Archbishop) on Oct 30, 2005 at 02:15 UTC |