Crypt::MySQL emulates MySQL PASSWORD() SQL function, without libmysqlclient. You can compare encrypted passwords, without real MySQL environment. WWW: http://search.cpan.org/dist/Crypt-MySQL/