http://qs321.pair.com?node_id=1103577


in reply to retrieving persistent variables with Data::Dumper followed by the 'do' command

try setting $Data::Dumper::Purity=1; works for me afterwards!

HTH! :)

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: from Data::Dumper

· $Data::Dumper::Purity or $OBJ->Purity([NEWVAL]) Controls the degree to which the output can be "eval"ed to +recreate the supplied reference structures. Setting it to 1 will ou +tput additional perl statements that will correctly recreate nes +ted references. The default is 0.

update

you may wanna have a look at the alternative Data::Dump module! :)