[Templates-cvs] cvs commit: Template2/lib/Template Directive.pm
cvs@template-toolkit.org
cvs@template-toolkit.org
Wed, 08 Oct 2003 10:34:42 +0100
cvs 03/10/08 09:34:41
Modified: lib/Template Directive.pm
Log:
* changed $OUTPUT to be a package var
Revision Changes Path
2.18 +4 -4 Template2/lib/Template/Directive.pm
Index: Directive.pm
===================================================================
RCS file: /template-toolkit/Template2/lib/Template/Directive.pm,v
retrieving revision 2.17
retrieving revision 2.18
diff -u -r2.17 -r2.18
--- Directive.pm 2002/08/08 11:59:15 2.17
+++ Directive.pm 2003/10/08 09:34:41 2.18
@@ -25,7 +25,7 @@
#
#----------------------------------------------------------------------------
#
-# $Id: Directive.pm,v 2.17 2002/08/08 11:59:15 abw Exp $
+# $Id: Directive.pm,v 2.18 2003/10/08 09:34:41 abw Exp $
#
#============================================================================
@@ -39,13 +39,13 @@
use Template::Exception;
use base qw( Template::Base );
-use vars qw( $VERSION $DEBUG $PRETTY $WHILE_MAX );
+use vars qw( $VERSION $DEBUG $PRETTY $WHILE_MAX $OUTPUT );
-$VERSION = sprintf("%d.%02d", q$Revision: 2.17 $ =~ /(\d+)\.(\d+)/);
+$VERSION = sprintf("%d.%02d", q$Revision: 2.18 $ =~ /(\d+)\.(\d+)/);
$WHILE_MAX = 1000 unless defined $WHILE_MAX;
$PRETTY = 0 unless defined $PRETTY;
-my $OUTPUT = '$output .= ';
+$OUTPUT = '$output .= ';
sub _init {