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 and doing a
"net view" on each to see if they respond - then presenting an html
table via a web page. I have the current perl bit on a handfull of
servers (I don't trust 'em, they are all MS.) I also have the .csv on
each server, and would like to have it on only a couple (have to have
redundancy! :-).

So I am trying to get my 'net_view' perl bit read the server list from
a web server.

CD> The simplest way to do this is in Perl with LWP:

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::HTTP. Any reason I should use one over the
other?

btw all, thanks for the quick response!

-- 
Tim Musson
Flying with The Bat! eMail v2.12.00
------ A rock -------> me <----- A hard place -------


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to