J
jwcarlton
I don't know if it's a server update or what, but sometime between 4am
and 8:30am, my Perl scripts that load LWP::Simple started having
errors.
The version of LWP::Simple currently running is 5.837.
Here's a complete test script that's giving such an error:
#!/usr/bin/perl
use LWP::Simple qw(!head);
use CGI qwstandard);
use CGI::Carp qw(fatalsToBrowser);
$get_file = get("http://www.EXAMPLE.com/test.txt");
die "Couldn't get it!" unless defined $get_file;
print "Content-type: text/html\n\n";
print $get_file;
exit;
For this purpose, "test.txt" contains "Hello". Yes, I know that the
test could be done using OPEN, but it's just a test; the main scripts
are getting executed PHP files.
I've updated cPanel, reinstalled Perl, with no luck. The server is
semi-managed, and the management company has been working with me for
about 3 hours, but haven't found anything, either.
Any thoughts?
and 8:30am, my Perl scripts that load LWP::Simple started having
errors.
The version of LWP::Simple currently running is 5.837.
Here's a complete test script that's giving such an error:
#!/usr/bin/perl
use LWP::Simple qw(!head);
use CGI qwstandard);
use CGI::Carp qw(fatalsToBrowser);
$get_file = get("http://www.EXAMPLE.com/test.txt");
die "Couldn't get it!" unless defined $get_file;
print "Content-type: text/html\n\n";
print $get_file;
exit;
For this purpose, "test.txt" contains "Hello". Yes, I know that the
test could be done using OPEN, but it's just a test; the main scripts
are getting executed PHP files.
I've updated cPanel, reinstalled Perl, with no luck. The server is
semi-managed, and the management company has been working with me for
about 3 hours, but haven't found anything, either.
Any thoughts?