[Templates-cvs] cvs commit: TT3/lib Template.pm

cvs@template-toolkit.org cvs@template-toolkit.org
Sun, 12 Dec 2004 17:56:33 +0000


cvs         04/12/12 17:56:33

  Modified:    lib      Template.pm
  Log:
  *** empty log message ***
  
  Revision  Changes    Path
  1.4       +4 -4      TT3/lib/Template.pm
  
  Index: Template.pm
  ===================================================================
  RCS file: /template-toolkit/TT3/lib/Template.pm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Template.pm	2004/12/11 14:14:26	1.3
  +++ Template.pm	2004/12/12 17:56:32	1.4
  @@ -15,7 +15,7 @@
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: Template.pm,v 1.3 2004/12/11 14:14:26 abw Exp $
  +#   $Id: Template.pm,v 1.4 2004/12/12 17:56:32 abw Exp $
   #
   #========================================================================
   
  @@ -73,11 +73,11 @@
   
   
   sub process {
  -    my ($self, $path, $vars, $output) = splice(@_, 0, 4);
  +    my ($self, $template, $vars, $output) = splice(@_, 0, 4);
       my $opts = @_ == 1 && UNIVERSAL::isa($_[0], 'HASH') ? shift : { @_ };
   
       my $context = $self->{ context };
  -    my $result  = $context->include($path, $vars)
  +    my $result  = $context->include($template, $vars)
           || return $self->error($context->error());
   
       return $self->output($result, $output, $opts);
  @@ -156,7 +156,7 @@
   
   =head1 VERSION
   
  -$Revision: 1.3 $
  +$Revision: 1.4 $
   
   =head1 COPYRIGHT