Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The following...ID#TIMESTAMP.
produceswhile ( $line = <IN> ) { push @array, ( split /\s+/, $line )[9, 0]; }
Anyway to put them on the same line?ID# TIMESTAMP
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: Splitting two columns into an array
by jeffa (Bishop) on Mar 14, 2003 at 03:43 UTC | |
|
Re: Another array thing - split two fields into one
by Zaxo (Archbishop) on Mar 14, 2003 at 03:49 UTC | |
|
Re: (DUPE) Splitting two columns into an array
by Cody Pendant (Prior) on Mar 14, 2003 at 06:08 UTC | |
|
Re: Another array thing - split two fields into one
by Coruscate (Sexton) on Mar 14, 2003 at 20:51 UTC | |
by ihb (Deacon) on Mar 16, 2003 at 22:16 UTC |