diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-04-27 18:06:12 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-04-27 18:06:12 +0000 |
commit | 3a465856879d8f5c62068f777bdbd4b60c7e7eb4 (patch) | |
tree | 7b936e8fea2045808921a98ebaa092d84e048f7a /lib/ExtUtils/Installed.pm | |
parent | 0a8c69ed98534e4cb5df7fb14bb378b3457ef4ef (diff) | |
download | perl-3a465856879d8f5c62068f777bdbd4b60c7e7eb4.tar.gz |
Upgrade to ExtUtils-Install-1.39
p4raw-id: //depot/perl@27983
Diffstat (limited to 'lib/ExtUtils/Installed.pm')
-rw-r--r-- | lib/ExtUtils/Installed.pm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/ExtUtils/Installed.pm b/lib/ExtUtils/Installed.pm index d1faaa2a27..d5cffb6b94 100644 --- a/lib/ExtUtils/Installed.pm +++ b/lib/ExtUtils/Installed.pm @@ -16,7 +16,8 @@ my $DOSISH = ($^O =~ /^(MSWin\d\d|os2|dos|mint)$/); require VMS::Filespec if $Is_VMS; use vars qw($VERSION); -$VERSION = '0.08_01'; +$VERSION = '1.38'; +$VERSION = eval $VERSION; sub _is_prefix { my ($self, $path, $prefix) = @_; @@ -41,7 +42,7 @@ sub _is_prefix { return(0); } -sub _is_doc { +sub _is_doc { my ($self, $path) = @_; my $man1dir = $Config{man1direxp}; my $man3dir = $Config{man3direxp}; @@ -50,7 +51,7 @@ sub _is_doc { ($man3dir && $self->_is_prefix($path, $man3dir)) ? 1 : 0) } - + sub _is_type { my ($self, $path, $type) = @_; return 1 if $type eq "all"; @@ -127,7 +128,7 @@ sub new { } # Read the .packlist - $self->{$module}{packlist} = + $self->{$module}{packlist} = ExtUtils::Packlist->new($File::Find::name); }; @@ -186,7 +187,7 @@ sub files { my (@files); foreach my $file (keys(%{$self->{$module}{packlist}})) { push(@files, $file) - if ($self->_is_type($file, $type) && + if ($self->_is_type($file, $type) && $self->_is_under($file, @under)); } return(@files); |