Subject: | dataprinterrc Configs Ignored when p() loaded via BEGIN |
Date: | Wed, 02 Oct 2013 20:44:41 -0500 |
To: | bug-Data-Printer [...] rt.cpan.org |
From: | Charles Sheridan <cesheri [...] swbell.net> |
Hi,
I started using this module today and see that I'll be using it a lot.
It's great. Enough so that I'm reporting what seems to a bug --
When loading p() via the BEGIN code shown in the CPAN page,
dataprinterrc settings are ignored, whether they are in ~/.dataprinter
or elsewhere, as specified by $DATAPRINTERRC.
When loading via this BEGIN approach, p() itself does work.
The BEGIN code is in a .pl file that instantiates an object from a
package in a .pm file, and then calls a method on the object.
_*Profile*_:
Data-Printer-0.35
downloaded 2013-10-02
perl 5, version 16, subversion 3 (v5.16.3)
built for darwin-thread-multi-2level
Darwin {node} 12.4.0 Darwin Kernel Version 12.4.0:
Wed May 1 17:57:12 PDT 2013;
root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64 i386 iMac11,1 Darwin
Regards,
Charles E. Sheridan