true has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use LWP::Simple; print "fetching http://www.jtrue.com\n"; my $jfr = get "http://www.jtrue.com"; print "BEGIN FETCH______________\n"; print $jfr."\n"; print "END FETCH________________\n"; print "\n\n\nAnd now we fetch something not local...\n"; print " fetching http://www.google.com\n"; my $gfr = get "http://www.google.com"; $gfr =~ s/^(.{100}).*/$1\.\.\./s; print "BEGIN FETCH______________\n"; print $gfr."\n"; print "END FETCH________________\n";
When i run this in a shell google returns fine, but jtrue.com (A domain on my server) returns blank. If i take this same script and put it on another server, both domain return fine.
Any help would be tremendous!
Thanks!
Just to clarify...
P.S. Digs report no DNS errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN LWP Install won't return local requests
by sflitman (Hermit) on Dec 20, 2009 at 15:49 UTC | |
by true (Pilgrim) on Dec 20, 2009 at 16:18 UTC | |
by Anonymous Monk on Dec 20, 2009 at 17:06 UTC | |
by true (Pilgrim) on Dec 20, 2009 at 19:49 UTC | |
by Anonymous Monk on Dec 21, 2009 at 00:07 UTC | |
by true (Pilgrim) on Dec 20, 2009 at 22:01 UTC | |
by Khen1950fx (Canon) on Dec 20, 2009 at 22:32 UTC | |
|