http://www.perlmonks.org?node_id=991277


in reply to Is it possible to generate all possible combinations of 2-letter and 3-letter words in perl?

my $r = join',','a'..'z'; print for glob "{$r}{$r}";; print for glob "{$r}{$r}{$r}";;

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

  • Comment on Re: Is it possible to generate all possible combinations of 2-letter and 3-letter words in perl?
  • Download Code