in reply to Re: Re: Re: In need of guidance....
in thread Program that will grep website for specified keyword

LWP::Simple does not do that unless you tell it too...
#!/usr/bin/perl use strict; use warnings; use LWP::Simple; my $res_code = getstore('http://www.perlmonks.org/','index.html'); die "Download failed! Response code is $res_code.\n" if $res_code != 2 +00; # continue processing here

Matthew Musgrove
Who says that programmers can work in the Marketing Department?
Or is that who say that Marketing people can't program?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: In need of guidance....
by Popcorn Dave (Abbot) on Apr 25, 2002 at 02:59 UTC
    Okay, I stand corrected. I was just using it as get(www.myhost.com) without specifiying a file to grab. Thanks for pointing that out. As soon as I get a few free moments I'm going to explore that. Should speed my app quite a bit. :)