in reply to Re^7: Adding an element to an array
in thread Adding an element to an array
I tried this way:[ [ "John Doe", "Main Street", "House 1", ], [ "John Doe", "Main Street", "House 1", ], ... ]
But I am getting this:foreach my $row ( @data) { $row = $homes_by_names{$row->[1]}; }
Can't use string ("2") as an ARRAY ref while "strict refs" in use at . +..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Adding an element to an array
by poj (Abbot) on Oct 15, 2015 at 18:33 UTC |