The advantage to this is that if another variable is added, at least you won't have to update this code to handle it.foreach my $key (sort keys %dbm) { print "$_\n" foreach (split("\0", $dbm{key})); }
In reply to Re: Splitting a hash
by tadman
in thread Splitting a hash
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |