Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to show where DP was invoked #186

Open
janlimpens opened this issue Sep 20, 2023 · 1 comment
Open

Add an option to show where DP was invoked #186

janlimpens opened this issue Sep 20, 2023 · 1 comment

Comments

@janlimpens
Copy link

for instance
user>TRACK_DATAPRINTER=1 prove my_test.t
with the line

use Data::Printer;
my $test= 'x';
p $test, as => 'a test object';

could render as

a test object (@/home/user/my_test.t:3)
"x"

I spend way too much time hunting after useless ps I don't need anymore.

@garu
Copy link
Owner

garu commented Sep 20, 2023

This is a great idea. I have the same complaint and have been playing with it for a while but couldn't figure out a name for it. "track" seem perfect, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants