Help for this page
/^(\S+)/ && print "$1\n" while <DATA>; ... EXAMPLE2 EXAMPLE3 EXAMPLE4
while (my $line = <DATA>) { if ( $line =~ /^(\S+)/ ) { print "$1\n"; } }