http://www.perlmonks.org?node_id=1031205


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.