Re: page to retrieve has password check

Gisle Aas (gisle@activestate.com)
04 Jan 2001 23:40:26 -0800


"Maoie Estrella" <eestrella@inq7.net> writes:

> just joined the list.  anyway, i just learned to use the libwww module to
> get pages in perl (learned it in the perl.com faq section).
> however, the page i need to access requires me to enter a username/password.
> so if i used the techniques in perl.com, i get a "401 Authorization
> Required" error.
> so the question would be is how to give the password.  i can't find any help
> on this.  don't worry.  they've granted me legal access to the site  :)

'perldoc lwpcook' has an example of this.

> also, is there an online documention for the functions and objects of the
> libwww module?

The 'perldoc LWP' command should get you started.  If you are on a
Unix system you might prefer 'man LWP' instead.

--Gisle