in reply to Re: crypt sometimes returning undef
in thread crypt sometimes returning undef

Thank you, I believe this is the issue.

My debug for an instance of this undef value has $never_blank_value as T_ (after substr)

$never_blank_value contains a–zA–Z0–9\-_ so it's likely this would break if it contains the hyphen or underscore, I will run a regex over $never_blank_value to filter out these disallowed characters.