(Slightly altered version of the example at crypt).print join '', (0..9, 'A'..'Z', 'a'..'z')[rand 62] for(1..7);
If you want to have variable length passwords, try adding a rand statement inside the for, that adds a random number to the 7.
Hope that helps.
In reply to Re: Passwords
by Dog and Pony
in thread Passwords
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |