in reply to About Filehandles
Only one filehandle open at a time...open inputfile read file into a hash, using the SubCatagory as the key (I dunno if you need ALL the data, but I`m sure you know how to stuff it in the hash at the SubCat Key (make a list ref. or whatever you want.) close inputfile iterate over the keys in your hash (unique subcatagories) open Subcatagory file ...Do your thing on the file, using the data in your hash... close SubCatagory file
|
|---|