Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Manually incrementing @ array during forby kcott (Archbishop) |
on Mar 17, 2020 at 20:54 UTC ( [id://11114399]=note: print w/replies, xml ) | Need Help?? |
Fair enough. I obviously missed the later post where the goal posts were moved. :-) The second of my two solutions would work equally well for an array. The chomp may not be necessary: hard to tell as the example input data presented in the OP looks more file data than array data. — Ken
In Section
Seekers of Perl Wisdom
|
|