[Omaha.pm] Pulling in a hash via "exec"...FAIL
Jay Hannah
jay at jays.net
Wed Aug 6 15:22:03 PDT 2008
On Aug 6, 2008, at 5:08 PM, Dan Linder wrote:
> I've got one program that generates a hash and then uses Data::Dump
> to write this structure to a text file:
> printf FILE Data::Dumper->Dump(\%fields],['fields']);
Data::Dump isn't meant to be used like that. Use Storable instead:
http://search.cpan.org/~ams/Storable-2.18/Storable.pm#EXAMPLES
Much easier to use, and it works. :)
j
More information about the Omaha-pm
mailing list