in reply to arrays, hashes, dereferencing confusion - need help
When Perl tells you a line number in an error, it often helps to look at that line:
Odd number of elements in anonymous hash at arrayTest_monk.pl line 38.
%resultHash = {$deRefHashArray[$counter]};
To me it seems as if you wanted to write
%resultHash = <b>%</b>{$deRefHashArray[$counter]};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: arrays, hashes, dereferencing confusion - need help
by Klunk (Novice) on Mar 20, 2010 at 10:01 UTC | |
by Anonymous Monk on Mar 21, 2010 at 05:23 UTC |