my @list; while (my $line = <STDIN>){ chomp $line; my($one, $two, $three) = split(/\t/, $line); if(defined $three) { push @list, $three } } for my $i (@list){ print "$i\n"; }
In reply to Re: Perl 'how to' question
by bill.bbennett
in thread Perl 'how to' question
by ghosh24
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |