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 simpler. Here is what I am going to
use. Any other suggestions on cleaning it up?

,-----
| my $URL = "http://localhost/nvh.csv";;
|  
| use LWP::Simple;
| my $content = get($URL);
| 
| my @lines = split(/\n/, $content);
| 
| foreach my $line (@lines) {
|       # do stuff, for example...
|       print "$line\n"; 
| }
`-----

-- 
Tim Musson
Flying with The Bat! eMail v2.12.00
To err is human; To moo is bovine.


-- 
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