in reply to Re: Random letters
in thread Random letters

Actually, you don't even need the 'int' - it just slows things down. Faster still, store the number of elements in the array into a scalar:

@letters=(A..Z,a..z); $total=@letters; $newletter = $letters[rand $total];