Perhaps sort{rand(2)-1} (in effect, same as sort{0}) is somewhat too deterministic :). But
$ perl -E 'say sort{rand 2}a..z'produces random enough strings, and is shorter.
In reply to Re^3: A little golfing challenge: replace digits by random letters
by vr
in thread A little golfing challenge: replace digits by random letters
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |