L
Larry Snider
My web host has Perl 5.6.1 and LWP::Simple is installed.
When I execute the following code on my web host's server, the getstore()
part doesn't do anything and no errors are produced.
######################
#!/usr/bin/perl -w
use LWP::Simple;
my $document =
getstore('http://www.computercops.biz/ipbans.txt','ipbans.txt');
######################
Furthermore, the following always results in "Bad.":
######################
#!/usr/bin/perl
use strict;
use LWP::Simple;
my $url = 'http://computercops.biz/ipbans.txt';
head($url) ? print "Good.\n" : print "Bad.\n";
######################
What could be causing this lack of proper behavior? I did notice that I
cannot ping anything while in a shell. I get "ping: icmp open socket:
Operation not permitted". Could this be what's stopping it from working?
When I execute the following code on my web host's server, the getstore()
part doesn't do anything and no errors are produced.
######################
#!/usr/bin/perl -w
use LWP::Simple;
my $document =
getstore('http://www.computercops.biz/ipbans.txt','ipbans.txt');
######################
Furthermore, the following always results in "Bad.":
######################
#!/usr/bin/perl
use strict;
use LWP::Simple;
my $url = 'http://computercops.biz/ipbans.txt';
head($url) ? print "Good.\n" : print "Bad.\n";
######################
What could be causing this lack of proper behavior? I did notice that I
cannot ping anything while in a shell. I get "ping: icmp open socket:
Operation not permitted". Could this be what's stopping it from working?