[Templates-cvs] cvs commit: TT3/lib/Template/Generator Debug.pm

cvs@template-toolkit.org cvs@template-toolkit.org
Fri, 03 Dec 2004 14:17:21 +0000


cvs         04/12/03 14:17:20

  Modified:    lib/Template/Generator Debug.pm
  Log:
  * changes to SET sexpr
  
  Revision  Changes    Path
  1.15      +5 -5      TT3/lib/Template/Generator/Debug.pm
  
  Index: Debug.pm
  ===================================================================
  RCS file: /template-toolkit/TT3/lib/Template/Generator/Debug.pm,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Debug.pm	2004/12/03 13:40:09	1.14
  +++ Debug.pm	2004/12/03 14:17:20	1.15
  @@ -16,7 +16,7 @@
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: Debug.pm,v 1.14 2004/12/03 13:40:09 abw Exp $
  +#   $Id: Debug.pm,v 1.15 2004/12/03 14:17:20 abw Exp $
   #
   #========================================================================
   
  @@ -27,7 +27,7 @@
   use Template::Generator;
   use base qw( Template::Generator );
   
  -our $VERSION  = sprintf("%d.%02d", q$Revision: 1.14 $ =~ /(\d+)\.(\d+)/);
  +our $VERSION  = sprintf("%d.%02d", q$Revision: 1.15 $ =~ /(\d+)\.(\d+)/);
   our $DEBUG    = 0 unless defined $DEBUG;
   our $ERROR    = '';
   our $DEFAULT  = '_default';
  @@ -344,11 +344,11 @@
   
   
   sub generate_set {
  -    my ($self, @list) = @_;
  +    my ($self, $list) = @_;
       my $items = '';
       my $out;
   
  -    foreach my $item (@list) {
  +    foreach my $item (@$list) {
           $out = $self->generate($item);
           $out =~ s/\n/\n  /g;
           $items .= "  $out\n";
  @@ -564,7 +564,7 @@
   
   =head1 VERSION
   
  -$Revision: 1.14 $
  +$Revision: 1.15 $
   
   =head1 COPYRIGHT