in reply to MySQL, PERL and web authentication

If you're ysing apache you should check out Apache::AuthDBI. It comes with Apache::DBI and provides for authentication against any DBI datasource. It is a breeze to set up too.