in reply to Date Ranges Question
If the data is not currently in a database and it is not possible to put it in one, then you should create a second hash keyed on the date:
$partprice{$date}{$partnbr}{$pricelistname} = $priceIt's not clear to me that you need to loop through the hash at all. What your line of code implies is that you have a HoHoH and that you are directly indexing to yet the value you want, which is about as efficient as you could want!
If you have code you are having trouble with in this regard, post an example showing the issue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Date Ranges Question
by Tanktalus (Canon) on Oct 25, 2005 at 20:05 UTC | |
by lamberms (Sexton) on Oct 25, 2005 at 20:08 UTC |