in reply to Dereferencing within Hash Assignment

Your declaration/assignment is wonky too:

use Spreadsheet::Read; my %pointData{D.xls} = ReadData(fileD.xls)

Should be more like-

use warnings; use strict; use Spreadsheet::Read; my %pointData; $pointData{"D.xls"} = ReadData("fileD.xls"); # Updated, added quotes.

Replies are listed 'Best First'.
Re^2: Dereferencing within Hash Assignment
by Comment (Novice) on Sep 24, 2010 at 20:13 UTC
    It should be and is in my program. I was attempting to be concise to save people the reading time (clearly a mistake on my part). But the declarations in my program are exactly how you wrote them. As for the #Updated, added quotes., my program is actually using variables in those places. I have printed each variable to ensure that it truly holds "D.xls" and "fileD.xls".