Skip Menu |

This queue is for tickets about the Config-Properties CPAN distribution.

Report information
The Basics
Id: 28829
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Config-Properties

People
Owner: Nobody in particular
Requestors: Filip.Chodounsky [...] simac.cz
Cc:
AdminCc:

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



Subject: Config-Properties-0.65 - bug in _split_to_tree()
Date: Tue, 14 Aug 2007 14:01:21 +0200
To: "bug-Config-Properties [...] rt.cpan.org" <bug-Config-Properties [...] rt.cpan.org>
From: Filip Chodounsky <Filip.Chodounsky [...] simac.cz>
Hi, I think I have encountered a bug in the function _split_to_tree() of the module Config-Properties-0.65 at the line 343. $ diff -w corrected/Properties.pm v065/Properties.pm 343c343 < $self->{defaults}->_split_to_tree($tree, $re , $start); --- Show quoted text
> $self->{defaults}->_split_to_tree($tree, $re);
The correct code should be sub _split_to_tree { my ($self, $tree, $re, $start) = @_; if (defined $self->{defaults}) { $self->{defaults}->_split_to_tree($tree, $re , $start); The recursive call of _split_to_tree() processing defaults values is missing the $start argument. Best Regards Filip P.S. Thank you for a nice handy module !
patched, thank you for the report!!!