Re: LWP::UserAgent Question

2004-03-31 Thread Oliver Schnarchendorf
On Thu, 1 Apr 2004 09:49:20 +0700, Hari Fajri wrote: > "$ua->credentials($netloc, $realm, $uname, $pass)" > but i do not understand what is $netloc and $realm is... $netloc is the network location. Meaning the http address plus the port the server is running on. $realm i

LWP::UserAgent Question

2004-03-31 Thread Hari Fajri
Hi all i'm new to perl. I'm trying to download file using LWP::UserAgent module from "http://www.abcd.com/thisfile.zip"; but, i need to supply user name & password first before downloading that file. how to do that using LWP::UserAgent? for example, user name = "user" and password = "password"