I am using Active Perl, and i-am having problems downloading files from internet because of the proxy.
The script is workin when no proxy is present, but now it refuses to download files.
Here is the script:
What else i needed here ??
The script is workin when no proxy is present, but now it refuses to download files.
Here is the script:
Code:
#use module
use XML::Simple;
use Data::Dumper;
use LWP::Simple;
#test function
sub test_func
{
print "\n Test function starts:\n";
my $data_file = "http://website.com/file.txt";
my $remote_xml = get $data_file;
print "File:\n $remote_xml";
}
test_func();
Comment