[Templates-cvs] cvs commit: TT3/lib/Template Compiler.pm
cvs@template-toolkit.org
cvs@template-toolkit.org
Fri, 10 Dec 2004 15:00:13 +0000
cvs 04/12/10 15:00:12
Modified: lib/Template Compiler.pm
Log:
* added some debug code
Revision Changes Path
1.5 +6 -3 TT3/lib/Template/Compiler.pm
Index: Compiler.pm
===================================================================
RCS file: /template-toolkit/TT3/lib/Template/Compiler.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Compiler.pm 2004/12/01 17:59:07 1.4
+++ Compiler.pm 2004/12/10 15:00:11 1.5
@@ -16,7 +16,7 @@
# modify it under the same terms as Perl itself.
#
# REVISION
-# $Id: Compiler.pm,v 1.4 2004/12/01 17:59:07 abw Exp $
+# $Id: Compiler.pm,v 1.5 2004/12/10 15:00:11 abw Exp $
#
#========================================================================
@@ -30,7 +30,7 @@
use Template::Base;
use base qw( Template::Base );
-our $VERSION = sprintf("%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/);
+our $VERSION = sprintf("%d.%02d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/);
our $DEBUG = 0 unless defined $DEBUG;
our $ERROR = '';
@@ -58,6 +58,9 @@
# of the other modules we create
$self->{ config } = $config;
+ $self->debug("config: ", $self->dump_hash($config), "\n")
+ if $DEBUG;
+
return $self;
}
@@ -192,7 +195,7 @@
=head1 VERSION
-$Revision: 1.4 $
+$Revision: 1.5 $
=head1 COPYRIGHT