Re: How to get config file via http

2004-09-01 Thread Tim Musson
Hey Chris, My MUA believes you used to write the following on Wednesday, September 1, 2004 at 10:56:13 AM. CD> The only thing I can suggest is to poke around the other methods CD> that are provided by LWP::Simple -- some of them may be able to CD> make work easier for you: CD> get

Re: How to get config file via http

2004-09-01 Thread Chris Devers
On Wed, 1 Sep 2004, Tim Musson wrote: My MUA believes you used to write the following on Tuesday, August 31, 2004 at 3:20:50 PM. Yep, I also noticed Net::HTTP. Any reason I should use one over the other? CD> I mean really, how much simpler can it be than "get($url)" ? Thanks Chris, I agree, LWP is

Re: How to get config file via http

2004-09-01 Thread Tim Musson
Hey Chris, My MUA believes you used to write the following on Tuesday, August 31, 2004 at 3:20:50 PM. >> Yep, I also noticed Net::HTTP. Any reason I should use one over the >> other? CD> I mean really, how much simpler can it be than "get($url)" ? Thanks Chris, I agree, LWP is much si

Re: How to get config file via http

2004-08-31 Thread Tim Musson
Hey Chris, My MUA believes you used to write the following on Tuesday, August 31, 2004 at 3:20:50 PM. CD> On Tue, 31 Aug 2004, Tim Musson wrote: >> CD> use LWP::Simple; 8< snip >> Yep, I also noticed Net::HTTP. Any reason I should use one over the >> other? CD

Re: How to get config file via http

2004-08-31 Thread Chris Devers
On Tue, 31 Aug 2004, Tim Musson wrote: CD> use LWP::Simple; CD> $content = get($URL); CD> Or to be more robust about it: CD> use LWP::Simple; CD> unless (defined ($content = get $URL)) { CD> die "could not get $URL\n"; CD> } CD> Make sense? Yep, I also noticed Net:

Re: How to get config file via http

2004-08-31 Thread Tim Musson
Hey Chris, My MUA believes you used to write the following on Tuesday, August 31, 2004 at 3:03:33 PM. >> Is this a Perl question? CD> Duh, yes, it is -- you said "grab", not "serve". Ignore the last mail. LOL, yep it is. :-) Bigger picture. I am processing a list of Windows servers an

Re: How to get config file via http

2004-08-31 Thread Chris Devers
On Tue, 31 Aug 2004, Chris Devers wrote: On Tue, 31 Aug 2004, Tim Musson wrote: Hey all, I want to grab a config file from a web server. Basically I need to pull a ServerList.csv from a web server so I don't have to distribute it all over. Is this a Perl question? Duh, yes, it is -- you said "gra

Re: How to get config file via http

2004-08-31 Thread Chris Devers
On Tue, 31 Aug 2004, Tim Musson wrote: Hey all, I want to grab a config file from a web server. Basically I need to pull a ServerList.csv from a web server so I don't have to distribute it all over. Is this a Perl question? You could just put ServerList.csv into your web server's document root a

RE: How to get config file via http

2004-08-31 Thread John Pretti
-Original Message- From: Tim Musson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 1:53 PM To: [EMAIL PROTECTED] Subject: How to get config file via http Hey all, I want to grab a config file from a web server. Basically I need to pull a ServerList.csv from a web server so I

How to get config file via http

2004-08-31 Thread Tim Musson
Hey all, I want to grab a config file from a web server. Basically I need to pull a ServerList.csv from a web server so I don't have to distribute it all over. What module should I use to do that? I did a search on CPAN, but keep getting thousands of responses, and can't seem to find one to do wh