Let user set wrap size with $Data::Dump::WRAP#18
Open
cybernicus wants to merge 1 commit intogisle:masterfrom
Open
Let user set wrap size with $Data::Dump::WRAP#18cybernicus wants to merge 1 commit intogisle:masterfrom
cybernicus wants to merge 1 commit intogisle:masterfrom
Conversation
|
This would solve an issue for me. Any chance it might get merged at some point? |
|
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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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!