in reply to Re^2: First word
in thread First word

well, ok, replace,
$inner =~ /^(\w+)/
with:
$inner =~ /^(\S+)/
and we get:
print "@firsties\n"; #first greek alpha beta don't can't won't Kindergärten
Good point.
\w means the characters that can be used within a Perl identifier [0-9_A-Za-z]
Sometimes, as in this case, \S (not a space) is useful.