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

Re: [FWP] YAGOLF: password generation



On Wed, Apr 11, 2001 at 05:45:03PM +0200, Sven Neuhaus wrote:
> On Wed, Apr 11, 2001 at 03:15:19PM +0100, Simon Cozens wrote:
> > Of course, then there's *really* clever:
> > perl -e 'print substr crypt(rand,$$),2,8'
> 
> Good one! Tiny improvement:
>   perl -le'$_=crypt rand,0;s/.{5}//;print'

Again.
    perl -le 'print substr crypt(rand,0),5'

-Sven
-- 
The amount of time between slipping on the peel and landing on the
pavement is precisely 1 bananosecond.

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