in reply to crypt sometimes returning undef
my $cryptedpass = crypt($passwrd1, $never_blank_value));
Is that a paste from your code? It appears to have unbalanced brackets. Perhaps that's part of the problem?
Alternatively, if you add a diagnostic on such intermittent occurences you might spot a connection. eg:
die "Empty result from crypt($passwrd1, $never_blank_value)" unless de +fined $cryptedpass;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: crypt sometimes returning undef
by Beaker (Beadle) on Feb 14, 2018 at 10:28 UTC |
In Section
Seekers of Perl Wisdom