Help for this page
use strict; use warnings; ... my @words = $restOfLine =~ m{(\S+)\s+fish}g; print qq{$_\n} for @words;
one two red blue