Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: making loop in perl script

by PERLscienceman (Curate)
on Jan 23, 2004 at 22:59 UTC ( #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
Node Status?
node history
Node Type: note [id://323725]
help
Chatterbox?
[stevieb]: Strawberry Perl csums have been corrected. Thanks again pryrt for helping test!

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-03-29 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (353 votes). Check out past polls.