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 configuration for line width of Dump() #103

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

Conversation

jetf
Copy link

@jetf jetf commented Aug 11, 2021

  • Use global variable $YAML::XS::Width to set the line width of Dump().
  • Relocate local variable declarations in perl_libyaml.c to make it compilable
    by a legacy C/C++ compiler (MS VC6).

- Use global variable $YAML::XS::Width to set the line width of Dump().
- Relocate local variable declarations in perl_libyaml.c to make it compilable
  by a legacy C/C++ compiler (MS VC6).
@perlpunk
Copy link
Collaborator

Sorry for never merging, but there will be a new OOP interface soon, and I have implemented this option there.
Checkout the dev release: https://metacpan.org/release/TINITA/YAML-LibYAML-v0.902.1-TRIAL/view/lib/YAML/XS.pm#OBJECT-ORIENTED-INTERFACE

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.

2 participants