in reply to Arrays of hashes which have arrays
Use use warnings;!!! You would have gotten at least the first of
Useless use of concatenation (.) or string in void context Use of uninitialized value in print
print .", ".$xy; ^ |
The above means
print() . ", " . $xy;
and thus
print($_) . ", " . $xy;
By the way, when dumping an array, use
print Dumper \@array;
instead of
print Dumper @array;
Update: Added warning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Arrays of hashes which have arrays
by LesleyB (Friar) on Jan 26, 2009 at 22:49 UTC | |
by ikegami (Patriarch) on Jan 26, 2009 at 22:58 UTC |