Subject: | make_password fails when used twice |
perl -e '
use Crypt::XkcdPassword;
Crypt::XkcdPassword->make_password;
Crypt::XkcdPassword->make_password;
'
coercion for "words" failed: Can't locate object method "new" via package "1" (perhaps you forgot to load "1"?) at /home/sand/src/perl/repoperls/installed-perls/perl/v5.20.2/165a/lib/site_perl/5.20.2/Crypt/XkcdPassword.pm line 31, <DATA> line 9998.
I have another very similar one that maybe is the same:
% perl -le '
use Crypt::XkcdPassword;
for (0) {
Crypt::XkcdPassword->make_password;
}
'
Modification of a read-only value attempted at /home/sand/src/perl/repoperls/installed-perls/perl/v5.20.2/165a/lib/site_perl/5.20.2/Crypt/XkcdPassword/Words.pm line 33.
Thanks,