Crypt::Cracklib.3pm

Langue: en

Version: 2008-11-08 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Crypt::Cracklib - Perl interface to Alec Muffett's Cracklib.

SYNOPSIS

   use Crypt::Cracklib;
   
   my $reason = fascist_check($password, $dictionary);
 
   print "Ok"  if  check($password, $dictionary);
   print "Bad" if !check($password, $dictionary);
 
 

DESCRIPTION

This is a simple interface to the cracklib library.

FUNCTIONS

*
fascist_check( $password, [ $dictionary ] )

Returns a string value. Either an error, or ``ok''.

*
check( $password, [ $dictionary ] )

Returns a true or false value if the password is acceptable or not.

AUTHOR

Dan Sully <daniel@cpan.org>

SEE ALSO

perl(1).