I\'m running Perl on Windows XP, and I need to download a file from the URL http://marinetraffic2.aegean.gr/ais/getkml.aspx.
How should I do this? I have attempted u
I'd use LWP::Simple for this.
#!/usr/bin/perl use strict; use warnings; use LWP::Simple; my $url = 'http://marinetraffic2.aegean.gr/ais/getkml.aspx'; my $file = 'data.kml'; getstore($url, $file);