/[cvs]/nfo/perl/libs/Data/Mungle/Compare/Struct.pm
ViewVC logotype

Diff of /nfo/perl/libs/Data/Mungle/Compare/Struct.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by joko, Thu Mar 27 15:17:05 2003 UTC revision 1.6 by jonen, Wed May 12 13:53:19 2004 UTC
# Line 2  Line 2 
2  ##    $Id$  ##    $Id$
3  ##    --------------------------------------------------------------------------------  ##    --------------------------------------------------------------------------------
4  ##    $Log$  ##    $Log$
5    ##    Revision 1.6  2004/05/12 13:53:19  jonen
6    ##    + bugfix related to declaration of arrays,
7    ##        solved error: 'Bizarre copy of ARRAY in aassign at...'
8    ##
9  ##    Revision 1.5  2003/03/27 15:17:05  joko  ##    Revision 1.5  2003/03/27 15:17:05  joko
10  ##    namespace fixes for Data::Mungle::*  ##    namespace fixes for Data::Mungle::*
11  ##  ##
# Line 41  sub getRelations { Line 45  sub getRelations {
45    my @a = @{$a_ref};    my @a = @{$a_ref};
46    my @b = @{$b_ref};    my @b = @{$b_ref};
47    
48    my @isect = my @diff = my @union = ();    # BUGFIX 2004-05-12: following declaration of arrays occures an strange perl error:
49      # 'Bizarre copy of ARRAY in aassign at ..<PATH_TO>/<THIS_FILE> line <NEXT LINE>'
50      # (at PERL 5.8.4, Debian/unstable/experimental)
51      #
52      #my @isect = my @diff = my @union = ();
53      #
54      # so use normal declaration instead!!
55      my @isect = ();
56      my @diff = ();
57      my @union = ();
58    
59    my $e;    my $e;
60    my %count;    my %count;
61        

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed