Hi all, The get function in the libwww-perl library would be really useful to me, but I'm having problems making it work. When I use it in a cgi script (it's ultimate destination) it fails. My browser displays a generic error message which isn't very helpful. Trying to figure this out I ran a script with get from my own computer. I have two versions of Perl, 5.6 and 5.8. When I use the former, downloaded from the cd that comes with the book Perl for Dummies, 3rd edition. It works as advertised. But when I use the later version of Perl, downloaded off a website, I get the following message:
Can't locate LWP/Simple.pm in @INC (@INC contains: .) at testC.pl line 1. BEGIN failed--compilation aborted at testC.pl line 1. testC.pl is the little script I wrote to try this out. Here's the code for it: use LWP::Simple; $v = "http://www.hoursystem.net/advsrchexpl.htm"; $htmlText = get($v); if($htmlText =~ m/text I am curious about/) {print "Match"} else {print "No match"} Is the library something I would have had to download separately when I upgraded to 5.8? Could the folks who host my website simply not have the library? That seems odd. It's kind of basic, isn't it? They are something of a lame outfit, but not ridiculously so. They have sendmail and let me telnet and stuff. Any clues or guesses people might have about this would be helpful. Ultimately I suppose I'll have to ask my host, but I don't really understand enough about libraries and all to even ask an intelligent question. Thanks much! Fred Kittelmann hOURS 215-551-1490 www.hoursystem.net