in reply to Help with hash of arrays from file

1.If I need big data hash - I must have RAM to this data. may be in this trouble?
2.when I need array oh hashes I use this scheme:

my %data, %data2, %data3;
$data{$timestamp}=$data;
$data2{$timestamp}=$data2;
$data3{$timestamp}=$data3;

All various data's collected in own database(hash) by $timestamp

Replies are listed 'Best First'.
Re^2: Help with hash of arrays from file
by GrandFather (Saint) on Apr 10, 2011 at 20:46 UTC

    Your "AOH" scheme apears here in various guises time and time again form people who have never programmed before and is immediately jumped on by wiser heads who suggest this alternate scheme:

    my @records; while (<$inData) { my ($name, $age) = split ','; push @records, {name => $name, age => $age}; }

    However, what the OP was asking about was a hash of arrays (HOA) so your scheme doesn't even help the OP.

    True laziness is hard work