use Data::Dumper; open FH, ">$file" or die "Can't open $file: $!"; print FH Dumper \%hash; close FH or die "Can't close $file: $!"; ### Later... my $hashref = do $file;
In reply to Re: dumping hashes to a file
by btrott
in thread dumping hashes to a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |