in reply to read files into 2D arrays and print element?
print $list[3*$n][0] to get the upper left element from matrix $n (starting with 0)
Please next time indent your code properly, it's not nice to force us struggling thru this.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: read files into 2D arrays and print element?
by fasoli (Beadle) on Nov 29, 2016 at 17:14 UTC | |
by stevieb (Canon) on Nov 29, 2016 at 17:24 UTC | |
by hippo (Archbishop) on Nov 29, 2016 at 17:23 UTC | |
by LanX (Saint) on Nov 29, 2016 at 17:40 UTC | |
by fasoli (Beadle) on Nov 30, 2016 at 17:47 UTC | |
by LanX (Saint) on Nov 30, 2016 at 18:21 UTC |