in reply to Re: Any idea why LWP:Simple doesn't like this particular website?
in thread Any idea why LWP:Simple doesn't like this particular website?
OK I'm using the following script to do it, and it returns absolutely nothing except "The script has successfully started up.":
#!/usr/bin/perl -w $| = 1; use diagnostics; use CGI::Carp qw(fatalsToBrowser); use LWP::Simple; print "Content-type: text/html\n\n"; print "The script has successfully started up.\n\n<BR><BR>"; # just to + prove there's nothing wrong $theURL = 'http://www.theredkitchen.net/'; unless($doc=get($theURL)){ print "can't get the URL"; die "$!"; } print $doc; exit;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Any idea why LWP:Simple doesn't like this particular website?
by epoptai (Curate) on Jul 02, 2001 at 06:14 UTC | |
by Cody Pendant (Prior) on Jul 02, 2001 at 06:40 UTC |
In Section
Seekers of Perl Wisdom