Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 98319
Status: resolved
Priority: 0/
Queue: Data-Printer

People
Owner: Nobody in particular
Requestors: cktsai1975 [...] gmail.com
Cc:
AdminCc:

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



Subject: when $/ is undefined
Date: Mon, 25 Aug 2014 20:10:26 -0700
To: bug-Data-Printer [...] rt.cpan.org
From: "Tsai, Chung-Kuan "蔡中寬"" <cktsai1975 [...] gmail.com>
Hello, Many thanks for this excellent module. Below is one observation. When I undefine $/, Data::Printer would claim that $/ is undefined from below line numbers (Carp's print out). Do you want to do something like if($/){...}? Many thanks *Use of uninitialized value $/ in concatenation (.) or string at /site_perl/Data/Printer.pm line 190 Data::Printer::_print_and_return called at /site_perl/Data/Printer.pm line 145*
Hi! Thank you for your kind words, for using Data::Printer and for taking the time to file this issue. Also, sorry for the very long wait. The new version of Data::Printer on Github (CPAN dev release as 0.99_X) fixes the issue and no longer uses $/. As soon as the new code is stable enough, I'll make a 1.0 release of Data::Printer. This issue is related to https://github.com/garu/Data-Printer/issues/91 I have added your name to the contributors list - thank you again! Cheers, garu On Mon Aug 25 23:10:36 2014, cktsai1975@gmail.com wrote: Show quoted text
> Hello, > > Many thanks for this excellent module. Below is one observation. > > When I undefine $/, Data::Printer would claim that $/ is undefined from > below line numbers (Carp's print out). > > Do you want to do something like if($/){...}? > > Many thanks > > > *Use of uninitialized value $/ in concatenation (.) or string at > /site_perl/Data/Printer.pm line 190 Data::Printer::_print_and_return > called at /site_perl/Data/Printer.pm line 145*