Help for this page

Select Code to Download


  1. or download this
    my @WORDS = ("trying", "helping", "doing", "whelp");
    my $SEARCH = "help";
    ...
    my @result = grep {/^\Q$SEARCH\E/} @WORDS;
    
    print "$_\n" for @result;