Help for this page

Select Code to Download


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