16 Aug 2010 19:11:33 UTC
- Distribution: Text-Password-Pronounceable
- Module version: 0.30
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- Testers (4330 / 5 / 0)
- KwaliteeBus factor: 1
- 88.61% Coverage
- License: perl_5
- Activity24 month
- Download (20.52KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Text::Password::Pronounceable - Generate pronounceable passwords
# Generate a pronounceable password that is between 6 and 10 characters. Text::Password::Pronounceable->generate(6, 10); # Ditto my $pp = Text::Password::Pronounceable->new(6, 10); $pp->generate;
This module generates pronuceable passwords, based the the English digraphs by D Edwards.
$pp = Text::Password::Pronounceable->new($min, $max); $pp = Text::Password::Pronounceable->new($len);
Construct a password factory with length limits of $min and $max. Or create a password factory with fixed length if only one argument is provided.
$pp->generate; $pp->generate($len); $pp->generate($min, $max); Text::Password::Pronounceable->generate($len); Text::Password::Pronounceable->generate($min, $max);
Generate password. If used as an instance method, arguments override the factory settings.
This code derived from mpw.pl, a bit of code with a sordid history.
CPAN module by Chia-liang Kao 9/11/2006.
Perl cleaned up a bit by Jesse Vincent 1/14/2001.
Converted to perl from C by Marc Horowitz, 1/20/2000.
Converted to C from Multics PL/I by Bill Sommerfeld, 4/21/86.
Original PL/I version provided by Jerry Saltzer.
Copyright 2006 by Best Practical Solutions, LLC.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Text::Password::Pronounceable, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Text::Password::Pronounceable
For more information on module installation, please visit the detailed CPAN module installation guide.