![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Find the shortest word in the English Language with: a b c d e fby usemodperl (Beadle) |
on Jul 04, 2018 at 00:41 UTC ( #1217846=perlmeditation: print w/replies, xml ) | Need Help?? |
Edit: Not going to edit this node because of replies but Eily noticed there is an extra single quote at the end of my port :-/
This recent post in r/programming poses an interesting question for a bit of golf: "What is the shortest word in the English Language which contains: a b c d e f?" Some Junk™ code was posted to figure this out and my Perl version is a bit shorter. I know you perl better than me, if you do, and can see how else to do this: The Junk Code: My Perl Port:
For your convenience: Print the list: Print the word: Compare length of Perl to Junk: Of course different versions of dict give different results...
STOP REINVENTING WHEELS, START BUILDING SPACE ROCKETS!—CPAN 🐪
Back to
Meditations
|
|