Ok monks, so I have perl going through directories, and creating hashes out of .tifs it finds. The keys are the dates and the values are the .tifs (to keep them associated). So these hashes are always differing in size.
How do I create a loop where I have the first key subtract from the next key, so I can calculate the difference in days? i will want it to do this for every subsequent key. So if I have 4 keys, I will want element 0 to subtract from 1, 2, & 3. Then have element 1 subtract from 2 & 3. And then element 2 to subtract from 3.
In reply to Hash Math by marlowvoltron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |