Re: [Templates] Stumped

[prev] [thread] [next] [Date index for 2004/05/20]

From: Andy Wardley
Subject: Re: [Templates] Stumped
Date: 08:19 on 20 May 2004
Harry Jackson wrote:
>     124     $self->template()->process( $lib, $self->page_vars())
>     125         or die $self->template()->error(), " Shit\n";

What do your template() and page_vars() methods look like?  And what
happens if you do this:

  my $tt = $self->template();
  print "got template: $tt\n";
  my $vars = $self->page_vars();
  print "got vars: $vars\n";
  $tt->process($lib, $vars) or die ...

It's just a hunch, but I was wondering if something in those two 
methods is causing the object to be cloned before TT is even invoked.

A


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

[Templates] Stumped
Harry Jackson 14:29 on 18 May 2004

Re: [Templates] Stumped
Perrin Harkins 18:40 on 18 May 2004

Re: [Templates] Stumped
Harry Jackson 11:48 on 19 May 2004

Re: [Templates] Stumped
Perrin Harkins 16:45 on 19 May 2004

Re: [Templates] Stumped
Harry Jackson 08:58 on 20 May 2004

Re: [Templates] Stumped
Harry Jackson 11:22 on 20 May 2004

Re: [Templates] Stumped
Harry Jackson 12:34 on 20 May 2004

Re: [Templates] Stumped
Andy Wardley 08:19 on 20 May 2004

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