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]; }
In reply to Re^2: accessing array items
by Tedffo
in thread accessing array items
by Tedffo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |