Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I would like to store values similar to:
10/01/2002 00:00:00 (a,b,c,d,e,g)
10/01/2002 00:00:10 (h,i,j)
10/01/2002 00:00:20 (p,r,n)
...
05/16/2003 15:00:00 (zz,b,n)
What is the best way to do this?
What about if this were the scenario:
10/01/2002 00:00:00 a (1,2,3)
10/01/2002 00:00:00 b (5,6,7)
10/01/2002 00:00:00 c (10,1,12)
10/01/2002 00:00:10 a (1,2)
10/01/2002 00:00:10 d (1,9)
10/01/2002 00:00:10 f (10,2)
...
05/16/2003 15:00:00 a (1)
05/16/2003 15:00:00 d (2,9,10,109,10)
Sounds like a hash of hashes to me (and the second being a hash of hashes of hashes), but can a date/time value be key fields?
thanks a million!
g
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: best way to store date / values
by halley (Prior) on May 16, 2003 at 20:29 UTC | |
|
Re: best way to store date / values
by cciulla (Friar) on May 16, 2003 at 20:30 UTC | |
|
Re: best way to store date / values
by Anonymous Monk on May 16, 2003 at 20:37 UTC |