in reply to
Random word generator
Just because, not because you should.
perl -nle 'BEGIN{$l=shift} END{print $line} length == $l && $lc++ || next ; rand($lc) < 1 && ($line = $_)' 4 /usr/share/dict/words
Comment on
Re: Random word generator
Download
Code
In Section
Seekers of Perl Wisdom