Skip Menu |

This queue is for tickets about the Tree-MultiNode CPAN distribution.

Report information
The Basics
Id: 1743
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Tree-MultiNode

People
Owner: TODDR [...] cpan.org
Requestors: gjb [...] luc.ac.be
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0.9
Fixed in: (no value)



Subject: Traverse improved, but still incorrect
The traverse function for Tree::MultiNode is not implemented correctly. The call to $subref in line 1206 should read: $subref->($self, @args); rather than: $subref->(@args, $self); to be consistent with the example given in the documentation.
From: sabol [...] alderaan.gsfc.nasa.gov
Show quoted text
> The traverse function for Tree::MultiNode is not implemented > correctly. > > The call to $subref in line 1206 should read: > $subref->($self, @args); > rather than: > $subref->(@args, $self); > to be consistent with the example given in the documentation.
Does this bug report still apply to 1.0.10? If so, which is incorrect, the documentation or the code? Thanks, Ed
[guest - Wed Oct 30 05:26:27 2002]: Show quoted text
> The traverse function for Tree::MultiNode is not implemented correctly. > > The call to $subref in line 1206 should read: > $subref->($self, @args); > rather than: > $subref->(@args, $self); > to be consistent with the example given in the documentation. > >
The example in the documentation was inconsistient with the implementation and the descriptive text in the documentation. I've updated the example in the documentation. This won't make it onto CPAN untill the 1.0.11 version.
RT-Send-CC: sabol [...] alderaan.gsfc.nasa.gov
I changed the documentation to pop from shift, which matches how the test suite does it. I believe this is the documentation change being discussed here. 1.0.11 has been released to CPAN