Using LWP without hard coding password

Hi,
I would like to read content from a https site.
I have decided to use LWP module in perl. but it throwed 401 Authorization required error.
i dont want to hard code the password in my perl code. Is there any way to achieve the authentication without hardcoding the password.

Thanks,
pandeeswaran

You could possibly try to save the cookies or session ids from an initial authenticated session. Experiment by using wget and look at --save-session-cookies and --keep-session-cookies (also --user, and --password) to get the initial value)