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

cvs@template-toolkit.org cvs@template-toolkit.org
Wed, 01 Dec 2004 11:13:31 +0000


cvs         04/12/01 11:13:31

  Modified:    lib/Template/Directives TT.pm
  Log:
  * added note to indicate that this module is deprecated
  
  Revision  Changes    Path
  1.7       +6 -3      TT3/lib/Template/Directives/TT.pm
  
  Index: TT.pm
  ===================================================================
  RCS file: /template-toolkit/TT3/lib/Template/Directives/TT.pm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TT.pm	2004/11/22 13:54:12	1.6
  +++ TT.pm	2004/12/01 11:13:31	1.7
  @@ -15,18 +15,21 @@
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: TT.pm,v 1.6 2004/11/22 13:54:12 abw Exp $
  +#   $Id: TT.pm,v 1.7 2004/12/01 11:13:31 abw Exp $
   #
   #========================================================================
   
   package Template::Directives::TT;
   
  +use Carp;
  +croak "Template::Directives::TT has been deprecated\n";
  +
   use strict;
   use warnings;
   use Template::Directives;
   use base qw( Template::Directives );
   
  -our $VERSION = sprintf("%d.%02d", q$Revision: 1.6 $ =~ /(\d+)\.(\d+)/);
  +our $VERSION = sprintf("%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/);
   our $DEBUG   = 0 unless defined $DEBUG;
   our $ERROR   = '';
   our $MODULES = {
  @@ -75,7 +78,7 @@
   
   =head1 VERSION
   
  -$Revision: 1.6 $
  +$Revision: 1.7 $
   
   =head1 COPYRIGHT