in reply to Re: accessing array items
in thread accessing array items
Prob is, I cant seem to get at the individual numbers on each line.foreach (<>) { $line=$_; if ($line =~ m(^\s{2}[-0])) #gets us to required lines in dataset { chomp $line; @items_in_line = split ' ', $line; } print $items_in_line[o]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: accessing array items
by apl (Monsignor) on Jul 29, 2008 at 11:28 UTC |