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

Let user set wrap size with $Data::Dump::WRAP #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cybernicus
Copy link

A trivial patch to let the user change the size an object may grow to before it gets wrapped. I left the default at 60 from your code, but changed it to an exposed variable $Data::Dump::WRAP where the user can set a larger size if desired.

If you're interested in it, you can take it as it is, or I can write some tests and/or documentation if you'd prefer.

I don't check my EMail often so if there's something you'd like done post-haste, ping me on PerlMonks, which I visit nearly every day.

Thanks!

@rdsteiner
Copy link

This would solve an issue for me. Any chance it might get merged at some point?

@garu
Copy link

garu commented Jun 26, 2021

Data::Dump version 1.25 contains this feature, via the $Data::Dump::LINEWIDTH variable.

Your name is credited on the Changes file. Thank you for your contribution!

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

Successfully merging this pull request may close these issues.

3 participants