CGI.pm and Use of uninitialized value in pattern match

B

Bart Lateur

A. Farber said:
your previous comment about anchors etc. has been good, thanks.

No, I don't want punctuation :) Here in Germany
the keyboard layout is different from the english.

And in Belgium, keyboard layout is different for some letters, from the
German keyboard layout.

Perhaps you should disallow use of [aqzwm] too.

What kind of argument is that.
 
B

Bart Lateur

A. Farber said:
afarber@ablsw01:~> ~/yapassgen.pl
File is not a perl storable at ../../lib/Storable.pm (autosplit
into ../../lib/auto/Storable/_retrieve.al) line 331, at /home/afarber/
perl/lib/perl5/site_perl/5.8.8/Crypt/YAPassGen.pm line 91
my $passgen = Crypt::YAPassGen->new(
freq => '/usr/share/dict/linux.words',
length => 10,
post_subs => [sub { $_ = uc }, "digits"],
);

The docs say:

freq => '/path_to_american-english_default_freq_file.dat',

So, judging by that file extension, you're using thewrong kind of file.
Also, I don't see how a word list could be interpreted as " frequency
database".

Well, there's this entry in the docs a bit further downn:

my $freq = Crypt::YAPassGen->make_freq($dict_file, $freq_file, $ascii)

This class method will generate a new frequency file reading from
$dict_file and writing the result in $freq_file.

Well, there you have it... you have to generate that freq file from your
wordlist file, first.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,212
Messages
2,571,101
Members
47,696
Latest member
ecomwebsdesign

Latest Threads

Top