pattern matching for fun and profit

pattern matching for fun and profit
What’s my secret Wordly weapon? Perl.

perl -lane ‘printf(“%s (%d)\n”, $_, length($_)) if length($_) == 5 && /^..ol.$/‘ words

Reply via email.