Re: [Templates] problem with CGI
[prev]
[thread]
[next]
[Date index for 2004/08/01]
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