in reply to Perl and Apache Authentication

Not advisable, but you can send HTTP Basic Authentication credentials as part of the URL:

http://username:password@log.me.in/protected

You can also send it via a header as illustrated here.

Again, neither method is recommended - the first worse than the latter (at least over https).