Thank you all in advance for your help!
I am having a difficult time determining the best way to handle my data and I know this will be any easy problem for the more Perl-literate. I also realize that this problem could be solved with something other than Perl, but I only know Perl at the moment. I have outlined my situation below:
Goal- Calculate the euclidean distances between all (x,y,z) coordinates within and between multiple data sets. Each point in a data set has its (x,y,z) coordinates stored within an excel file. For example, the coordinates for D1, D2,and D3 are found in D.xls and the coordinates for E1,E2, E3, and E4 are found in E.xls. To complicate matters, the number of points in the files and the number of files can be different from day to day.
Where I'm at Now- I am able to gather all of the files names that are needed for the analysis. I was hoping to use Spreadsheet::Read to pull the data into a hash table (%H1). The keys of the hash table will be the file names and the values would be another hash table (%H2)...if that's possible? The keys of %H2 would be the point ID (ex D1 or D2) and the values of %H2 would be the (x,y,z) coordinates read by Spreadsheet::Read. The problem is that I'm not exactly sure how that works. Any help you could provide would be extremely helpful!
Many Thanks!