- or download this
open$:,"</usr/share/dict/words";while(<$:>){...}
@ARGV="/usr/share/dict/words";while(<>){...}
- or download this
$a='a';$a++while/$a/;push@_,$_ if$a gt'f'
next unless/(?=.*a)(?=.*b)(?=.*c)(?=.*d)(?=.*e)(?=.*f)/i;push@_,$_
- or download this
@ARGV="/usr/share/dict/words";while(<>){$a='a';$a++while/$a/i;push@{$_
+[length]},$_ if$a gt'f'}@_=map{$_?@$_:()}@_
open$:,"</usr/share/dict/words";while(<$:>){next unless/(?=.*a)(?=.*b)
+(?=.*c)(?=.*d)(?=.*e)(?=.*f)/i;push@_,$_}@_=sort{length$a<=>length$b}
+@_