in reply to need help to print some lines
use warnings; use strict; my @c2; while (<DATA>) { my @cols = split; push @c2, $cols[1]; print "$cols[0]\n"; } print "$_\n" for @c2; __DATA__ a f b g c h d i e j
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: need help to print some lines
by Anonymous Monk on Nov 29, 2012 at 00:41 UTC | |
by 2teez (Vicar) on Nov 29, 2012 at 00:57 UTC |