Hi;

I have a small program that uses getstore to fetch a xml webpahe and
store it. It is:

use strict;
use warnings;

use LWP::Simple;

my 
$xmlurl="http://www.sec.gov/Archives/edgar/data/903404/000118143105029692/rrd79736.xml";;
my $xmlfile="xml.xml";
my $status=getstore($xmlurl,$xmlfile);

if(is_success($status))
{
print "xmlfile store is ok\n";
}
else
{
print "xmlfile store isn't ok\n";
}


It works well on windows platform, but doesn't on freebsd. That is,
every time the getstore function's response is "200 ok", but the
stored xml file isn't correct, it means, it isn't as same as the xml
webpage. What is wrong with it? And is there any solution or
alternatives to this problems?

Thank you very much!

Best wishes
Franklin

T

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to