in reply to Re: help with splitting and printing the array
in thread help with splitting and printing the array
while (<DATA>) { chomp; my @line = grep {!/^-/} split; print $line[0], ' ' , $line[4], "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: help with splitting and printing the array
by blindluke (Hermit) on Jan 25, 2015 at 10:09 UTC | |
by pme (Monsignor) on Jan 25, 2015 at 11:19 UTC | |
by blindluke (Hermit) on Jan 25, 2015 at 12:41 UTC |