This probably was requested before, but I'd like to see the shortest cmdline to generate a password of 8 random alphanumeric characters. The one I've got is 60 chars: echo|perl -pe "@a=(A..Z,a..z,0..9);eval's##\$a[rand@a]#;'x8" This is actually what I've got after mangling a lot over my original: perl -le '@a=("A".."Z","a".."z","0".."9");for$n (1..8){s##$a[rand@a]#};print' Can it still be further shortened? - Branden ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe