This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make DD dump *{''} properly
authorFather Chrysostomos <sprout@cpan.org>
Mon, 26 Dec 2011 00:07:26 +0000 (16:07 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 26 Dec 2011 00:07:26 +0000 (16:07 -0800)
commit58cee0f7eea42ddab8cfcae790865e7f5eac8036
tree67bd81b5b375d59c0ff0895fa661d040203a5a1a
parent11e0f19f121b14836a6fcbec0ed625aa4b2b9764
Make DD dump *{''} properly

This typeglob is an oddity, in that it stringifies as *main::,
but cannot be reached under that name, because *main:: produces
*main::main::.  The former is $::{""}; the latter $::{"main::"}.

I was inadvertently triggering this in 5.8 when I added a test a while
back for typeglobs will nulls in their names.
dist/Data-Dumper/Dumper.pm
dist/Data-Dumper/Dumper.xs
dist/Data-Dumper/t/bugs.t