$o.=$a[rand@a]while 8>length$o
You can shave a few chars off using for and a range. I think it's more readable too (is that a positive or negative in golf? :)
$o.=$a[rand@a]for 1..8In reply to Re: Golfing password creation
by fullermd
in thread Golfing password creation
by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |