* Steffen Winkler <perlbug-followup@perl.org> [2014-10-01T08:39:21] > perl -e 'use Data::Dumper; print Data::Dumper->new([{"aaa\x00bbb" => "ccc\x00ddd"}],['hash'])->Useperl(1)->Quotekeys(0)->Dump' > > results in: > > $hash = { > 'aaabbb' => 'cccddd' > }; ~$ perl -e 'use Data::Dumper; print Data::Dumper->new([{"aaa\x00bbb" => "ccc\x00ddd"}],['hash'])->Useperl(1)->Quotekeys(0)->Dump' | gcat -A $hash = {$ 'aaa^@bbb' => 'ccc^@ddd'$ };$ So, the NUL is in fact there, but you dn't see it normally, because NULs are invisible. If you want \0 to appear, you should also ->Useqq(1) I don't think this is a bug. Have I missed something? -- rjbsThread Previous | Thread Next