in reply to Problem with Populating a Hash of Arrays
push($filehash{"First Case"},$file);
You have to dereference the array to use it:
push(@{$filehash{"First Case"}},$file);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with Populating a Hash of Arrays
by kreetrapper (Scribe) on Jan 09, 2009 at 07:50 UTC |