in reply to Perl and Apache Authentication
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).