RE: Restoring Dumped Values

Jeff Saxton <[email protected]>
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <F8345BDA8C5CED4691D4E5BA8DF75994015D924B3B@EXCHANGEVS01.bigfix.com>
just "do" it ;)

________________________________
From: [email protected] [[email protected]] On Behalf Of Eric Robertson [[email protected]]
Sent: Sunday, September 26, 2010 3:12 PM
To: [email protected]
Subject: Restoring Dumped Values

I’ve produced a complicated hash that has as its values anonymous hashes and I want to store the hash in a text file and then in another program use this text file to reconstitute the original hash. Using Data::Dumper I’ve succeeded with the first part and produced the text file with ‘print OUT Dumper (%hash)’ but using eval with the contents of the file doesn’t reproduce the original hash file.

Am I attempting the impossible, or if not how should I set about reconstituting to the original hash?





Eric Robertson

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.