I'm reading that file into my Perl program, and generating data in (for example) the $header, $main_content and $footer variables. My goal is to do a simple read of the template and spit it out again, interpolating variables along the way. I'd like to avoid pattern matches on each line and such. Can this be done feasibly? I seek your wisdom, O wise monks, and am grateful for any that you can give me!(html stuff) $header (html stuff) $main_content (html stuff) $footer
-- The Fallen Monkey
In reply to Forcing Variable Interpolation by fallenmonkey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |