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

cvs@template-toolkit.org cvs@template-toolkit.org
Wed, 17 Nov 2004 14:54:06 +0000


cvs         04/11/17 14:54:05

  Modified:    lib/Template Utils.pm
  Log:
  * minor style fixes
  
  Revision  Changes    Path
  1.4       +8 -10     TT3/lib/Template/Utils.pm
  
  Index: Utils.pm
  ===================================================================
  RCS file: /template-toolkit/TT3/lib/Template/Utils.pm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Utils.pm	2004/11/10 18:07:38	1.3
  +++ Utils.pm	2004/11/17 14:54:05	1.4
  @@ -13,14 +13,12 @@
   #
   # COPYRIGHT
   #   Copyright (C) 1996-2004 Andy Wardley.  All Rights Reserved.
  -#   Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
  -#   Copyright (C) 2002-2004 Fotango Ltd.
   #
   #   This module is free software; you can redistribute it and/or
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: Utils.pm,v 1.3 2004/11/10 18:07:38 abw Exp $
  +#   $Id: Utils.pm,v 1.4 2004/11/17 14:54:05 abw Exp $
   #
   #========================================================================
   
  @@ -34,14 +32,15 @@
   use File::Basename;
   
   use Template::Base;
  -use vars qw( $VERSION $DEBUG $ERROR );
   use base qw( Template::Base );
   
  -$VERSION = sprintf("%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/);
  -$DEBUG   = 0 unless defined $DEBUG;
  -$ERROR   = '';
  +our $VERSION = sprintf("%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/);
  +our $DEBUG   = 0 unless defined $DEBUG;
  +our $ERROR   = '';
  +our $LOADED  = { };
   
   
  +
   #------------------------------------------------------------------------
   # load_module($name)
   #
  @@ -281,12 +280,11 @@
   
   =head1 VERSION
   
  -$Revision: 1.3 $
  +$Revision: 1.4 $
   
   =head1 COPYRIGHT
   
  -  Copyright (C) 1996-2003 Andy Wardley.  All Rights Reserved.
  -  Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
  +Copyright (C) 1996-2004 Andy Wardley.  All Rights Reserved.
   
   This module is free software; you can redistribute it and/or
   modify it under the same terms as Perl itself.