Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 56014
Status: new
Priority: 0/
Queue: SQL-Translator

People
Owner: Nobody in particular
Requestors: accounts [...] snareware.org
Cc:
AdminCc:

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



Subject: Producer::YAML and Parser::YAML put 'translator' at different levels
Producer::YAML generates something like this: schema: ... translator: ... Parser::YAML expects something like this: schema: ... translator: ... I'm guessing that the first format is intended because 'schema' and 'translator' are passed to YAML::Dump as separate keys in the producer. The problem seems to be here in the parser: 33. $data = $data->{'schema'}; ... 121. if ( my $tr_data = $data->{'translator'} ) { $data no longer retains the 'translator' section. - jschnare