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

cvs@template-toolkit.org cvs@template-toolkit.org
Thu, 16 Dec 2004 19:24:54 +0000


cvs         04/12/16 19:24:54

  Modified:    lib/Template Context.pm
  Log:
  * added include() as temporary alias to process
  
  Revision  Changes    Path
  1.13      +6 -4      TT3/lib/Template/Context.pm
  
  Index: Context.pm
  ===================================================================
  RCS file: /template-toolkit/TT3/lib/Template/Context.pm,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Context.pm	2004/12/16 19:17:53	1.12
  +++ Context.pm	2004/12/16 19:24:54	1.13
  @@ -16,7 +16,7 @@
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: Context.pm,v 1.12 2004/12/16 19:17:53 abw Exp $
  +#   $Id: Context.pm,v 1.13 2004/12/16 19:24:54 abw Exp $
   #
   #========================================================================
   
  @@ -39,7 +39,7 @@
   use constant FETCH => 'fetch';
   use constant GET   => 'get';
   
  -our $VERSION   = sprintf("%d.%02d", q$Revision: 1.12 $ =~ /(\d+)\.(\d+)/);
  +our $VERSION   = sprintf("%d.%02d", q$Revision: 1.13 $ =~ /(\d+)\.(\d+)/);
   our $DEBUG     = 0 unless defined $DEBUG;
   our $ERROR     = '';
   our $THROW     = 'context';
  @@ -457,7 +457,9 @@
       }
       return $output;
   }
  -        
  +
  +
  +*include = \&process;        
   
   
   sub catch {
  @@ -534,7 +536,7 @@
   
   =head1 VERSION
   
  -$Revision: 1.12 $
  +$Revision: 1.13 $
   
   =head1 COPYRIGHT