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: 101902
Status: resolved
Priority: 0/
Queue: Data-Printer

People
Owner: Nobody in particular
Requestors: blue [...] thisisnotmyrealemail.com
Cc:
AdminCc:

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



Subject: string of a number with leading and/or trailing space is not shown as a string
If the string only consists of a number and leading and/or trailing space, it is printed without quotes and highlighted as a number, but the spaces are still printed, though easy to miss. The string should be quoted for this case. $ DATAPRINTERRC= perl -MDDP -E 'p $_ for " 23 ", " 2 3 "' 23 " 2 3 "
Hi Blue! Sorry I haven't replied to this earlier, I have moved the issue tracker to Github and forgot to check RT for earlier entries. Thank you for using Data::Printer and for taking the time to file the issue and provide an easy way to reproduce it. I think this particular issue has been fixed: $ perl -Ilib -MDDP -E 'p $_ for " 23 ", " 2 3 "' " 23 " (read-only) " 2 3 " (read-only) Thanks again! garu On Tue Feb 03 03:22:49 2015, blue wrote: Show quoted text
> If the string only consists of a number and leading and/or trailing > space, it is printed without quotes and highlighted as a number, but > the spaces are still printed, though easy to miss. The string should > be quoted for this case. > > $ DATAPRINTERRC= perl -MDDP -E 'p $_ for " 23 ", " 2 3 "' > 23 > " 2 3 "