I'm not a Perl expert, so there is probably a more elegant way to do this, but the following is code from a script I wrote recently. This chooses four letters and two digits at random:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.