- or download this
if (crypt($word, $pwd) ne $pwd) {
die "Sorry...\n";
} else {
print "ok\n";
}
- or download this
my $cryptedpass = crypt($passwrd1, substr($never_blank_value, 0, 2));
- or download this
#!/usr/bin/perl
use strict;
...
$ perl test.pl
Too small \$never_blank_value at test.pl line 13.
- or download this
#!/usr/bin/perl
use strict;
...
perl test.pl
Use of uninitialized value $cryptedpass in say at test.pl line 15.
- or download this
die 'Not accepted characters at \$never_blank_value'
unless ($never_blank_value =~ /^[a-zA-Z0-9.\/]+$/);