Do you know where your variables are? | |
PerlMonks |
Re^2: Store the outcome of a foreach loop in an arrayby perl_5eeker (Novice) |
on Jan 10, 2019 at 22:39 UTC ( [id://1228346]=note: print w/replies, xml ) | Need Help?? |
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 :(
In Section
Seekers of Perl Wisdom
|
|