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