[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] YAGOLF: password generation



On 2001-04-11 10:07:28, filipe-brandenburger@procergs.rs.gov.br wrote:
> 
>     echo|perl -pe "@a=(A..Z,a..z,0..9);eval's##\$a[rand@a]#;'x8"
>
> [...]
>
> Can it still be further shortened?

    (51) perl -e 'print((A..Z,a..z,0..9)[rand 63])for(1..8)'

- ams

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe