in reply to Password Protecting specific functions of a Perl Cgi Script
Check out the docs on Apache's Documentation and pay attention to AuthType, AuthName, AuthUserFile, and require (which you should have changed to require valid-user or somesuch, not just remove it entirely). Also if your going to start working with Apache you should check out the Apache Cookbook, Apache The Definitive Guide (both by O'Reilly), or some other book on Apache.
"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce