Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: making loop in perl script

by PERLscienceman (Curate)
on Jan 23, 2004 at 22:59 UTC ( [id://323725]=note: print w/replies, xml ) Need Help??


in reply to making loop in perl script

Greetings Fellow Monk!

I see in your script that you are trying to generate for your users random passwords.
I would like to recommend to you this module: Crypt::GeneratePassword.
I have found it to be quite useful. Here is a snippet of code to demo it:
#!/usr/bin/perl -w use strict; my $minlen=6; my $maxlen=10; use Crypt::GeneratePassword qw(word chars); my $word = chars($minlen,$maxlen); print "$word\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://323725]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2025-06-22 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.