The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use Test::More;
use Data::Password::passwdqc;

my $pwdqc = Data::Password::passwdqc->new;

ok(!$pwdqc->reason);

$pwdqc->validate_password('boomer');

is($pwdqc->reason, 'too short');

my $password = $pwdqc->generate_password;

ok(!$pwdqc->reason);

done_testing;