[Templates-cvs] cvs commit: Template2/lib/Template Directive.pm
cvs@template-toolkit.org
cvs@template-toolkit.org
Thu, 20 May 2004 09:46:55 +0100
cvs 04/05/20 08:46:54
Modified: lib/Template Directive.pm
Log:
* Commented out line 797 which serves no purpose and generates a warning.
Revision Changes Path
2.19 +3 -3 Template2/lib/Template/Directive.pm
Index: Directive.pm
===================================================================
RCS file: /template-toolkit/Template2/lib/Template/Directive.pm,v
retrieving revision 2.18
retrieving revision 2.19
diff -u -r2.18 -r2.19
--- Directive.pm 2003/10/08 09:34:41 2.18
+++ Directive.pm 2004/05/20 08:46:54 2.19
@@ -25,7 +25,7 @@
#
#----------------------------------------------------------------------------
#
-# $Id: Directive.pm,v 2.18 2003/10/08 09:34:41 abw Exp $
+# $Id: Directive.pm,v 2.19 2004/05/20 08:46:54 abw Exp $
#
#============================================================================
@@ -41,7 +41,7 @@
use base qw( Template::Base );
use vars qw( $VERSION $DEBUG $PRETTY $WHILE_MAX $OUTPUT );
-$VERSION = sprintf("%d.%02d", q$Revision: 2.18 $ =~ /(\d+)\.(\d+)/);
+$VERSION = sprintf("%d.%02d", q$Revision: 2.19 $ =~ /(\d+)\.(\d+)/);
$WHILE_MAX = 1000 unless defined $WHILE_MAX;
$PRETTY = 0 unless defined $PRETTY;
@@ -794,7 +794,7 @@
\$stash->set('view', \$oldv);
\$view->seal();
- \$output;
+# \$output; # not used - commented out to avoid warning
};
EOF
}