perl: Fix $h->value_value method when returning an empty value.
authorRichard Jones <rjones@redhat.com>
Thu, 25 Mar 2010 19:39:07 +0000 (19:39 +0000)
committerRichard Jones <rjones@redhat.com>
Thu, 25 Mar 2010 19:40:48 +0000 (19:40 +0000)
commit8993116eec9b213a86a1b4d1defa94830a106818
treee34e35edd82279241f9dee4254cb557780d7e813
parent97c3cd728eaa608ceb9c0f2db20a002b6dcccf02
perl: Fix $h->value_value method when returning an empty value.

Previously this didn't correctly return an empty registry
value.  In this case the length argument to newSVpv would
be 0 which tells Perl to try to calculate the length (we
want newSVpvn instead).
generator/generator.ml