
Authen::htpasswd provides a convenient, object-oriented interface to apache-style .htpasswd files.
it supports passwords encrypted via md5, sha-1, and crypt, as well as plain (cleartext) passwords.
additional fields after username and password, if present, are accessible via the extra_info array.