Welcome to the Monastery | |
PerlMonks |
Re^5: How to store the output from foreach loop into variable/array without printing?by hazylife (Monk) |
on Mar 13, 2014 at 10:14 UTC ( [id://1078156]=note: print w/replies, xml ) | Need Help?? |
Instead, it print out only the last column: so I change to this line by adding the "." to join the 6 columns together and I get weird output like this:You're not actually using the index variable ($index1). And you also need to properly re-initialize $variable1. Would this do what you want?
In Section
Seekers of Perl Wisdom
|
|