You don't want a hash in that middle level, then, you want an array: $db_hash{$path}[$idx]{$key}. To do that, you'd do:
while (<>) {
my ($path, $start, $end, $delay) = split; # or however you get them
push @{ $db_hash{$path} }, {
START => $start,
END => $end,
DELAY => $delay,
};
}
Jeff japhy Pinyan,
P.L., P.M., P.O.D, X.S.:
Perl,
regex,
and perlhacker How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart
Comment on Re: Creating members of hash of hashes parallelly