in reply to Unexpected Data::Dumper results
I see that others have shown you how to work around this particular problem, but I recommend that in the general case you use Data::Dump::Streamer's DumpLex function, and install PadWalker so that it can work all its magic.
In Section
Seekers of Perl Wisdom