> On 8/12/05, Perrin Harkins <[EMAIL PROTECTED]> wrote: > > On Fri, 2005-08-12 at 15:45 -0500, David Nicol wrote: > > > my $output = $TemplateCache{$template_name}; > > > $output =~ s/\[(\w+)\]/$InsertableVariables{$1}/g; > > > print $output; > > > > The second it gets more complex than that, stop and use one from CPAN.
Uri Guttman posted something that might do the job here: http://london.pm.org/pipermail/london.pm/Week-of-Mon-20050808/032837.html d.