[Templates-cvs] cvs commit: TT3/lib/Template/Generator Perl.pm
cvs@template-toolkit.org
cvs@template-toolkit.org
Fri, 03 Dec 2004 14:17:14 +0000
cvs 04/12/03 14:17:14
Modified: lib/Template/Generator Perl.pm
Log:
* changes to SET sexpr
Revision Changes Path
1.11 +6 -5 TT3/lib/Template/Generator/Perl.pm
Index: Perl.pm
===================================================================
RCS file: /template-toolkit/TT3/lib/Template/Generator/Perl.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Perl.pm 2004/12/03 08:22:26 1.10
+++ Perl.pm 2004/12/03 14:17:14 1.11
@@ -18,7 +18,7 @@
# modify it under the same terms as Perl itself.
#
# REVISION
-# $Id: Perl.pm,v 1.10 2004/12/03 08:22:26 abw Exp $
+# $Id: Perl.pm,v 1.11 2004/12/03 14:17:14 abw Exp $
#
#========================================================================
@@ -31,7 +31,7 @@
use Template::Generator;
use base qw( Template::Generator );
-our $VERSION = sprintf("%d.%02d", q$Revision: 1.10 $ =~ /(\d+)\.(\d+)/);
+our $VERSION = sprintf("%d.%02d", q$Revision: 1.11 $ =~ /(\d+)\.(\d+)/);
our $DEBUG = 0 unless defined $DEBUG;
our $ERROR = '';
#our $DEFAULT = '_default';
@@ -521,8 +521,9 @@
#------------------------------------------------------------------------
sub generate_set {
- my ($self, @list) = @_;
- return join('; ', map { $self->generate_assign(@$_) } @list) . ';';
+ my ($self, $list) = @_;
+ my ($pkg, $file, $line) = caller(0);
+ return join('; ', map { $self->generate_assign(@$_) } @$list) . ';';
}
@@ -1537,7 +1538,7 @@
=head1 VERSION
-$Revision: 1.10 $
+$Revision: 1.11 $
=head1 COPYRIGHT