App-Genpass
view release on metacpan or search on metacpan
All special characters.
Default: [ '!', '@', '#', '$', '%', '^', '&', '*', '(', ')' ].
(not including excluded chars)
generate
This method generates the password or passwords.
It accepts an optional parameter indicating how many passwords to
generate.
$gp = App::Genpass->new();
my @passwords = $gp->generate(300); # 300 passwords to go
If you do not provide a parameter, it will use the default number of
passwords to generate, defined by the attribute number explained above.
This method tries to be tricky and DWIM (or rather, DWYM). That is, if
you request it to generate only one password and use scalar context (my
$p = $gp->generate(1)), it will return a single password.
However, if you try to generate multiple passwords and use scalar
context (my $p = $gp->generate(30)), it will return an array reference
for the passwords.
Generating passwords with list context (my @p = $gp->generate(...))
will always return a list of the passwords, even if it's a single
password.
get_config_from_file
Reads the configuration file using Config::Any.
Shamelessly lifted from MooseX::SimpleConfig.
AUTHOR
Sawyer X, <xsawyerx at cpan.org>
DEPENDENCIES
Carp
Moo
MooX::Types::MooseLike
Getopt::Long
File::Spec
Config::Any
File::HomeDir
List::AllUtils
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-app-genpass at
rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-Genpass. I will be
notified, and then you'll automatically be notified of progress on your
bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc App::Genpass
You can also look for information at:
* Github: App::Genpass repository
http://github.com/xsawyerx/app-genpass
* RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Genpass
* AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/App-Genpass
* CPAN Ratings
http://cpanratings.perl.org/d/App-Genpass
* Search CPAN
http://search.cpan.org/dist/App-Genpass/
( run in 2.769 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )