Re: [Templates] problem with CGI

[prev] [thread] [next] [Date index for 2004/08/01]

From: erob
Subject: Re: [Templates] problem with CGI
Date: 15:36 on 01 Aug 2004
On Sun, Aug 01, 2004 at 03:10:05PM +0100, Dan Thomas wrote:
> On Sun, 01 Aug 2004 09:20:39 -0400, erob <erob@xxxxxxxxx.xx> wrote:
> >        I don't know why the endform method  outputs something
> >        like that, so if someone knows the answer please tell us :)
> 
> Hiya,
> 
> Yes, simply because CGI.pm quite often returns arrays, and perl's
> print() statement accepts arrays..
> 
> try:
> 
> [% cgi.endform.join('') %]
> 

Hi,

It works fine, but it (end_form) outputs  additional "<div></div>" tags before the closing </form> tag. 

The "<div></div>" thing seems not related to TT, since it occurs even inside 
a perl script. I can live with that ;)

> 
> Dan

Thanks,

Etienne


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] problem with CGI
erob 13:20 on 01 Aug 2004

Re: [Templates] problem with CGI
Dan Thomas 14:10 on 01 Aug 2004

Re: [Templates] problem with CGI
erob 15:36 on 01 Aug 2004

Re: [Templates] problem with CGI
erob 14:29 on 06 Aug 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52