fallenmonkey has asked for the wisdom of the Perl Monks concerning the following question:
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Forcing Variable Interpolation
by MrCromeDome (Deacon) on May 09, 2002 at 18:41 UTC | |
by fallenmonkey (Initiate) on May 09, 2002 at 18:45 UTC | |
Re: Forcing Variable Interpolation
by Ovid (Cardinal) on May 09, 2002 at 18:44 UTC | |
Re: Forcing Variable Interpolation
by grep (Monsignor) on May 09, 2002 at 18:42 UTC | |
Re: Forcing Variable Interpolation
by CukiMnstr (Deacon) on May 09, 2002 at 19:01 UTC |