while () { $first = (split/\s/)[0]; print "$first\n"; }