Hi! Would be possible that for changing password to check it against haveibeenpwned.com ?
Unfortunately i have no perl knowledge and i cannot contribute directly but if it helps
this is the python version of checking: https://github.com/adriansev/bin-scripts/blob/master/check_pass_pwned
Thanks a lot!