Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: jvromans [...] squirrel.nl
Cc:
AdminCc:

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

Attachments


MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Subject: Problem loading example from YAML web site
Content-Type: multipart/mixed; boundary="----------=_1136802409-812-0"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 2037
Download (untitled) / with headers
text/plain 1.9k
YAML::Syck imports the given example, but the resultant structure is blessed in the class 'clarkevans.com,2002:invoice>' which I don't think is correct. Also, upon termination, a message 'Attempt to free unreferenced scalar: SV 0x80ceafc' is given, possibly indicating other problems. % perl -MYAML::Syck -MData::Dumper -e 'print Dumper(YAML::Syc k::Load(join("",<>)))' ex-2.27-invoice $VAR1 = bless( { 'ship-to' => { 'given' => 'Chris', 'address' => { 'city' => 'Royal Oak', 'postal' => '48046', 'lines' => '458 Walkman Dr. Suite #292 ', 'state' => 'MI' }, 'family' => 'Dumars' }, 'bill-to' => $VAR1->{'ship-to'}, 'date' => '2001-01-23', 'tax' => '251.42', 'comments' => 'Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338.', 'total' => '4443.52', 'invoice' => '34843', 'product' => [ { 'sku' => 'BL394D', 'quantity' => '4', 'price' => '450.00', 'description' => 'Basketball' }, { 'sku' => 'BL4438H', 'quantity' => '1', 'price' => '2392.00', 'description' => 'Super Hoop' } ] }, 'clarkevans.com,2002:invoice>' ); Attempt to free unreferenced scalar: SV 0x8e56b04, <> line 29.
Content-Type: application/octet-stream; name="ex-2.27-invoice"
Content-Disposition: inline; filename="ex-2.27-invoice"
Content-Transfer-Encoding: base64
Content-Length: 872
Download ex-2.27-invoice
application/octet-stream 872b

Message body not shown because it is not plain text.



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.