Re: Template techniques [ newbie alert + long ]

2000-06-10 Thread Ged Haywood
Hi there, On Thu, 8 Jun 2000, Perrin Harkins wrote: > use references for passing data. But see "Advanced Perl Programming" pages 9 (Performance Efficiency) and 44 (Using Typeglob Aliases). 73, Ged.

Re: Template techniques [ newbie alert + long ]

2000-06-08 Thread Randal L. Schwartz
> "Perrin" == Perrin Harkins <[EMAIL PROTECTED]> writes: Perrin> I think the world's record for most compact implementation Perrin> goes to Randal for a small post you can find in the archive here: Perrin> http:[EMAIL PROTECTED] Ahh yes, Apache::Cachet (it's a cache, eh?), mostly proof of c

Re: Template techniques [ newbie alert + long ]

2000-06-08 Thread Perrin Harkins
On Thu, 8 Jun 2000, Greg Cope wrote: > > > - the area I was trying to explore was how to read a template (all > > > HTML with a few in it) and the sub in the new content. > > > > Embperl would work fine for that, but it's overkill. Your substitution > > approach is slower than compiling to perl

Re: Template techniques [ newbie alert + long ]

2000-06-08 Thread Greg Cope
Perrin Harkins wrote: > > On Thu, 8 Jun 2000, Greg Cope wrote: > > My original question was not related to templates (I'll use embperl for > > that) > > Well, I'm confused now. You'll use Embperl for templates but you're not > using Embperl for templates? I use Embperl when I want a templating

Re: Template techniques [ newbie alert + long ]

2000-06-08 Thread Perrin Harkins
On Thu, 8 Jun 2000, Greg Cope wrote: > My original question was not related to templates (I'll use embperl for > that) Well, I'm confused now. You'll use Embperl for templates but you're not using Embperl for templates? > - the area I was trying to explore was how to read a template (all > HTML

Re: Template techniques [ newbie alert + long ]

2000-06-08 Thread Greg Cope
Chris Winters wrote: > > * [EMAIL PROTECTED] ([EMAIL PROTECTED]) [000608 11:07]: > > I'm curious Matt, as opposed to what?, reparsing the template each > > run? Clearly reparsing would be a big loser in terms of performance. > > > > But what other technique could be used..., hrm.., without direc