in reply to Re: Store the outcome of a foreach loop in an array
in thread Store the outcome of a foreach loop in an array
If I print "@$lines", I get this:
I was trying to store "c3r1 c3r2 c3r3" in "@store" - but it only saves "c3r1" and comes out of the loop :(c1r1,c2r1,c3r1,c4r1,c5r1 c1r2,c2r2,c3r2,c4r2,c5r2 c1r3,c2r3,c3r3,c4r3,c5r3
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Store the outcome of a foreach loop in an array
by haukex (Archbishop) on Jan 10, 2019 at 22:47 UTC | |
by perl_5eeker (Novice) on Jan 10, 2019 at 23:25 UTC | |
by haukex (Archbishop) on Jan 11, 2019 at 08:05 UTC | |
by AnomalousMonk (Archbishop) on Jan 10, 2019 at 23:39 UTC | |
by LanX (Saint) on Jan 11, 2019 at 00:04 UTC | |
|
Re^3: Store the outcome of a foreach loop in an array
by LanX (Saint) on Jan 10, 2019 at 22:46 UTC |