Skip Menu |
 

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

Report information
The Basics
Id: 96882
Status: resolved
Priority: 0/
Queue: YAML-Syck

People
Owner: Nobody in particular
Requestors: sjq-perl [...] jadevine.org.uk
Cc:
AdminCc:

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



Subject: Dumping to string fails
Download (untitled) / with headers
text/plain 669b
I am trying to use YAML::Syck::DumpFile to dump data structures into a string (using either IO::String or IO::Scalar). With version 1.07 of YAML::Syck it works: perl -MIO::String -MYAML::Syck -wE 'my $data; my $io = IO::String->new($data); YAML::Syck::DumpFile( $io, { a => 1, b => 2 } ); say $data' --- a: 1 b: 2 and with version 1.27 it fails: perl -MIO::String -MYAML::Syck -wE 'my $data; my $io = IO::String->new($data); YAML::Syck::DumpFile( $io, { a => 1, b => 2 } ); say $data' Error writing to filehandle IO::String=GLOB(0x1a8ab48): Bad file descriptor Let me know if you need any further information to help debug the problem. Thanks, Stephen Quinney
Ticket migrated to github as https://github.com/toddr/YAML-Syck/issues/22


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.