[Templates-cvs] cvs commit: TT3/lib/Template Base.pm
cvs@template-toolkit.org
cvs@template-toolkit.org
Tue, 14 Dec 2004 10:25:20 +0000
cvs 04/12/14 10:25:20
Modified: lib/Template Base.pm
Log:
* added TODO comment to remind me to fix clone()
Revision Changes Path
1.20 +6 -3 TT3/lib/Template/Base.pm
Index: Base.pm
===================================================================
RCS file: /template-toolkit/TT3/lib/Template/Base.pm,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- Base.pm 2004/12/13 17:48:47 1.19
+++ Base.pm 2004/12/14 10:25:20 1.20
@@ -16,7 +16,7 @@
# modify it under the same terms as Perl itself.
#
# REVISION
-# $Id: Base.pm,v 1.19 2004/12/13 17:48:47 abw Exp $
+# $Id: Base.pm,v 1.20 2004/12/14 10:25:20 abw Exp $
#
#========================================================================
@@ -29,7 +29,7 @@
require Template::Utils;
require Template::Exception;
-our $VERSION = sprintf("%d.%02d", q$Revision: 1.19 $ =~ /(\d+)\.(\d+)/);
+our $VERSION = sprintf("%d.%02d", q$Revision: 1.20 $ =~ /(\d+)\.(\d+)/);
our $DEBUG = 0 unless defined $DEBUG;
our $ERROR = '';
our $PAD = ' ';
@@ -89,6 +89,9 @@
? shift : { @_ };
my $clone = bless {
+ # TODO: should change this to merging $self into $config which
+ # gets passed to init() - this allows init() to not have to
+ # worry about overwriting internal variables already set here
%$self,
ERROR => '',
}, $class;
@@ -1192,7 +1195,7 @@
=head1 VERSION
-$Revision: 1.19 $
+$Revision: 1.20 $
=head1 COPYRIGHT