browser authentication passed onto perl script
i've got a file on my webserver that is protected and needs a username/password to gain access to it. It is a perl script, what i want this perl script to do is to bind to my ldap server with the username/password that was entered when trying to access this file.
so i'm looking for a perl script that using the client authentication and pipes it into a variable
can anyone help me out?

