7
7
use vars qw{$VERSION $ISCORE @ISA};
11
11
@ISA = qw{Module::Install::Base};
16
my ($scheme, $host, $path, $file) =
16
my ($scheme, $host, $path, $file) =
17
17
$args{url} =~ m|^(\w+)://([^/]+)(.+)/(.+)| or return;
19
19
if ( $scheme eq 'http' and ! eval { require LWP::Simple; 1 } ) {
20
20
$args{url} = $args{ftp_url}
21
21
or (warn("LWP support unavailable!\n"), return);
22
($scheme, $host, $path, $file) =
22
($scheme, $host, $path, $file) =
23
23
$args{url} =~ m|^(\w+)://([^/]+)(.+)/(.+)| or return;