Your question has already been answered. I just want to give you some hints for the more general case (n-th column or you need more than one column):
my @columns = split /\s*/, $line; # or my $col3 = (split /\s*/, $line)[2]
-- Hofmator
In reply to Re: Grabbing first column of text
by Hofmator
in thread Grabbing first column of text
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |