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

People
Owner: Nobody in particular
Requestors: rich [...] rk-internet.com
Cc:
AdminCc:

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



Subject: Needs option to show variable name
Date: Sat, 21 Mar 2015 16:40:17 -0600
To: bug-Data-Printer [...] rt.cpan.org
From: Richard Kelsch <rich [...] rk-internet.com>
One of the nice things about Data::Dumper::Simple was its ability to show the variable name. Data::Printer lacks in this regard, but is vastly superior in all other aspects. How about a flag in settings to turn on variable name reporting? If there is a way to do this with filters, it's not documented, and should be added to the docs (if that is the case).
On Sat Mar 21 18:40:28 2015, rich@rk-internet.com wrote: Show quoted text
> One of the nice things about Data::Dumper::Simple was its ability to > show the variable name. Data::Printer lacks in this regard, but is > vastly superior in all other aspects. > > How about a flag in settings to turn on variable name reporting? > > If there is a way to do this with filters, it's not documented, and > should be added to the docs (if that is the case). >
That's a very interesting request! I'll take a look at how Data::Dumper::Simple does it. I'm going to close this issue here on RT so we can follow up on it on https://github.com/garu/Data-Printer/issues/125 Thanks again for submitting the issue and thank you for using Data::Printer! Cheers, garu