Skip Menu |

This queue is for tickets about the Data-Persist CPAN distribution.

Report information
The Basics
Id: 83923
Status: open
Priority: 0/
Queue: Data-Persist

People
Owner: TEX [...] cpan.org
Requestors: diederich [...] gmail.com
Cc:
AdminCc:

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



Documentation in https://metacpan.org/source/TEX/Data-Persist- 0.12/lib/Data/Persist.pm doesn't say anything about the OTHER required constructor: the logger. ddiederich@eriador:~/iter (data-persist)$ cat p3 #!/usr/bin/perl use Data::Persist; my $state = Data::Persist->new(filename => '/home/dana/p3.conf'); ddiederich@eriador:~/iter (data-persist)$ perl p3 Attribute (logger) is required at constructor Data::Persist::new (defined at /usr/local/share/perl/5.14.2/Data/Persist.pm line 113) line 47. Data::Persist::new('Data::Persist', 'filename', '/home/dana/p3.conf') called at p3 line 5 ddiederich@eriador:~/iter (data-persist)$ I understand that requirement comes from with qw(Log::Tree::RequiredLogger); But it would be nice for that to be in the POD :)
Subject: Proposed patch
On 2013-03-13 16:15:05, DIEDERICH wrote: Show quoted text
PR merged. Will review previous suggestion soon.