Re: [htmltmpl] ANNOUNCEMENT: HTML::Template 2.6

2002-08-29 Thread Chisel Wright
On Fri, Aug 30, 2002 at 05:13:33PM -0400, Sam Tregar wrote: > CHANGES >- New Feature: The default attribute allows you to specify > defaults for tags. > >- Bug Fix: fixed parser to reject s with no names. > (crazyinsomniac) > Whoever pasted the chages in

[htmltmpl] fw: Re: webmail

2002-10-30 Thread Chisel Wright
I don't know if you're interested in this snippet from the london.pm mailing list... :) Chiz - Forwarded message from Dave Cross - Subject: Re: webmail Date: Wed, 30 Oct 2002 06:39:15 + To: [EMAIL PROTECTED] On Tue, Oct 29, 2002 at 09:58:07AM +0000, Chisel Wrig

[htmltmpl] H::T GUIDE FOR WEB DESIGNERS

2003-02-10 Thread Chisel Wright
Hi there, I've been using H::T for some time now, and I've conviced the team here that H::T is a better tool for our needs than other modules in a similar genre. Here, as at many places, we split the coding and the HTML design between programmers and web-designers. We've hit upon a small problem

Re: [htmltmpl] H::T GUIDE FOR WEB DESIGNERS

2003-02-10 Thread Chisel Wright
On Mon, Feb 10, 2003 at 12:28:46PM -0500, Sam Tregar wrote: > I don't believe there is, but it sounds like a good idea. Maybe you'd > like to write one? If you did, I'd be happy to post it on the > HTML::Template site. I'll see how it goes, but I forsee two problems: 1. It might be too specif

Re: [htmltmpl] catch the carp::croak() death...

2003-06-27 Thread Chisel Wright
On Fri, Jun 27, 2003 at 04:52:23AM -0400, Chris Reinhardt wrote: > eval { ...code that dies... }; > if ($@) { > # There was an error in the eval {} > } I've always been uncomfortable using eval(). I know /how/ to use it, but it just feels dirty. What are the negative effects (if any) of usi

[htmltmpl] HTML::Template for Web Designers

2003-08-01 Thread Chisel Wright
A large number of weeks ago I asked about a guide for web developers/designers using H::T. The response at the time was "I don't believe there is, but it sounds like a good idea. Maybe you'd like to write one? " Life got in the way for a while, but I finally got around to accepting the challenge

Re: [htmltmpl] Fun with Filters.

2003-08-14 Thread Chisel Wright
On Wed, Aug 13, 2003 at 09:31:54AM -0500, Jeff Pelkey wrote: > YA?: What does the "$$" mean in $$test_ref. $text_ref is a reference to a scalar, so to get the text itself you need to dereference it. It's proably easier to understand if you think of it as ${$text_ref}. It's the same as you'd do wit

[htmltmpl] filter question

2003-11-20 Thread Chisel Wright
Hi, I've just hit a mental block, and I don't know if it's something that's not possible, or I'm just being stupid. I'm using H::T wrapped inside a package: sub template($$) { ... $self->{'tpl'} = HTML::Template->new( ... 'filter' => [ { 'sub' => \&_filter_sections,

FYI - [sam@tregar.com: [htmltmpl] HTML::Template v2.7 is Coming!]

2004-06-18 Thread Chisel Wright
FYI -- e: [EMAIL PROTECTED] | Life would be so much easier if we w: http://www.herlpacker.co.uk/ | just had the source code. gpg: D167E7FE | --- Begin Message --- Hello all. I'm sure it will come as a great shock, but I'm planning to make a new release of

Re: FYI - [sam@tregar.com: [htmltmpl] HTML::Template v2.7 is Coming!]

2004-06-18 Thread Chisel Wright
On Fri, Jun 18, 2004 at 09:24:01AM +0100, Chisel Wright wrote: > FYI I an such a tool. Too early, sent to wrong email alias. *DOH* -- e: [EMAIL PROTECTED] | Get pleasure out of the little w: http://www.herlpacker.co.uk/ | things in life. Stand on an ant. gpg: D167E

Re: [htmltmpl] Question about syntax

2004-08-11 Thread Chisel Wright
On Wed, Aug 11, 2004 at 08:26:39AM -0500, Brad Cathey wrote: > I've been using H::T for about a year have noticed variations in syntax. For > example: > > > > vs. > > (no quotes) > > vs. > > > > and finally: > > (drop 'name=') > > I like the last one‹short and simple. Pros and cons, esp

Re: [htmltmpl] Question about syntax

2004-08-11 Thread Chisel Wright
On Wed, Aug 11, 2004 at 05:58:13PM +0200, Markus Spring wrote: > That's where I use vanguard_compatibility_mode => 1 during load_tmpl - it's > %myimage% syntax is unsurpassed short, but of course misses the possibility to > decide about escaping... Our HTML bunnies seem to struggle enough with stu

Re: [htmltmpl] Re: eWeek Reviews Bricolage

2004-08-11 Thread Chisel Wright
On Wed, Aug 11, 2004 at 06:56:08PM -0400, Sam Tregar wrote: > > Also it seems to be MySQL specific. Did I read that wrong? > > Nope, you got that right too. Out of interest, why MySQL? I know that lack of Postgres support is one reason that we didn't consider Krang recently when looking for a co