Mime-types and OpenPGP

Laurent Fousse laurent@fousse.info
Sun, 29 Feb 2004 23:24:31 +0100


On Sun, Feb 29, 2004 at 11:00:14PM +0100, Joost van Baal wrote:
> Hi Laurent,
> 
> On Sun, Feb 29, 2004 at 08:16:39PM +0100, Laurent Fousse wrote:
> > 
> <snip>
> > If you know a well known function in perl to produce a random variable
> > length string of ascii characters, I'd be happy to use that, otherwise
> > we'll have to write our own (and I don't feel like writing that right
> > now).
> 
> I've just skimmed to perlfunc(1).
> 
>  join "", ("A".."Z", "a".."z")[rand 52, rand 52, rand 52, rand 52]
> 
> gives a 4 character string.  Won't that do the trick?

Nice. I will use that.