Security fix to password() method:
Store the password in an anonymous subroutine that will return the password when invoked. This will prevent the password from being accidentally displayed when using e.g. Data::Dumper on a structure containing one of these objects.
Please register or sign in to comment