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

Re: [FWP] YAGOLF: password generation



On Wed, Apr 11, 2001 at 11:35:27AM -0300, Joey Mitchell Comeau wrote:
> 
> 
> > perl -le'print map chr((33..126)[rand 93]),0..8'
> 
>   perl -le'print map chr((rand 93)+33),0..8' 

    perl -le'print map chr 33+rand 93,0..7'


A minor improvement.

BTW, that's supposed to be 8 characters, not 9.  :)


Ronald

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