Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use v5.38;
    ...
    words_list(\@list, $text, {minwordlen => 2, maxwordlen => 26 });
    say "Found words: " . join ' ', map {"[$_]"} @list;
    say $text;
    
  2. or download this
    v5.38.2
    12/21/84 Bob's 21st b'day was a wine-and-dine.
    Found words: [12] [21] [84] [bob's] [21st] [b'day] [was] [a] [wine-and
    +-dine]
    122184bob's21stb'daywasawine-and-dine
    
  3. or download this
    bootstrap Text::ExtractWords $VERSION;