Skip Menu |

This queue is for tickets about the YAML-Tiny CPAN distribution.

Report information
The Basics
Id: 131027
Status: open
Priority: 0/
Queue: YAML-Tiny

People
Owner: Nobody in particular
Requestors: edv [...] superbrave.nl
Cc:
AdminCc:

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



Subject: [YAML::Tiny] Adding support for multiline scalars
Date: Tue, 19 Nov 2019 11:33:18 +0000
To: "bug-YAML-Tiny [...] rt.cpan.org" <bug-YAML-Tiny [...] rt.cpan.org>
From: Eelko de Vos <edv [...] superbrave.nl>
Hi YAML::Tiny! I saw in the active bug list that you are missing examples for multiline scalars. Well, working with kubernetes will produce those examples. I’ve attached one here, which is a stripped version of the kubectl-get-pods output. It’s valid yaml but the latest YAML::Tiny breaks on the multiline. Hope you can add the fix to the next release. Love and using your work! Cheers, Eelko https://rt.cpan.org/Public/Bug/Display.html?id=27210

Message body is not shown because sender requested not to inline it.

On Tue Nov 19 12:33:38 2019, edv@superbrave.nl wrote: Show quoted text
> I saw in the active bug list that you are missing examples for > multiline scalars. Well, working with kubernetes will produce those > examples. I’ve attached one here, which is a stripped version of the > kubectl-get-pods output. It’s valid yaml but the latest YAML::Tiny > breaks on the multiline.
May I suggest to try out YAML::PP? YAML::Tiny is great and fast, but it accepts a lot of invalid YAML, so if you use it, your files might end up incompatible with any other YAML module in perl or other languages. We recently had several issues with that at work, and we replaced YAML::Tiny with YAML::PP.