Perl Monk, Perl Meditation | |
PerlMonks |
Re: splitting the scalar variables in an arrayby soonix (Canon) |
on Nov 16, 2013 at 08:14 UTC ( [id://1062863]=note: print w/replies, xml ) | Need Help?? |
I would move the split and print out of the loop.
Update: wasn't yet awake... push @TotalHosts, split ... IN the loop, and print, of course, after the loop.
In Section
Seekers of Perl Wisdom
|
|