summaryrefslogtreecommitdiff
path: root/cpan/Module-Build/lib/Module/Build/Platform/VMS.pm
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2010-06-29 12:18:50 +0100
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2010-06-29 12:18:50 +0100
commit6d3892ec7fcbd5f372c6ad13fee9659a77c752bc (patch)
treeb71e2ea7b31714eff4a68a49f37fa42ed4805b8c /cpan/Module-Build/lib/Module/Build/Platform/VMS.pm
parente12a81fadc3cc9fe9d6b2b9bf6d801ab30acce70 (diff)
downloadperl-6d3892ec7fcbd5f372c6ad13fee9659a77c752bc.tar.gz
Revert "Update Module-Build to CPAN version 0.3607"
This reverts commit 8f4d46e2e6b66d00df1e347dab564fd9799c8d94. Way too much breakage for me to sanely resolve. Will leave it to Dave Golden to try and integrate it Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Diffstat (limited to 'cpan/Module-Build/lib/Module/Build/Platform/VMS.pm')
-rw-r--r--cpan/Module-Build/lib/Module/Build/Platform/VMS.pm23
1 files changed, 2 insertions, 21 deletions
diff --git a/cpan/Module-Build/lib/Module/Build/Platform/VMS.pm b/cpan/Module-Build/lib/Module/Build/Platform/VMS.pm
index 15394dd045..f406b7afb6 100644
--- a/cpan/Module-Build/lib/Module/Build/Platform/VMS.pm
+++ b/cpan/Module-Build/lib/Module/Build/Platform/VMS.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::VMS;
use strict;
use vars qw($VERSION);
-$VERSION = '0.3607';
+$VERSION = '0.3603';
$VERSION = eval $VERSION;
use Module::Build::Base;
use Config;
@@ -77,29 +77,10 @@ Prefixify taking into account VMS' filepath syntax.
=cut
# Translated from ExtUtils::MM_VMS::prefixify()
-
-sub _catprefix {
- my($self, $rprefix, $default) = @_;
-
- my($rvol, $rdirs) = File::Spec->splitpath($rprefix);
- if( $rvol ) {
- return File::Spec->catpath($rvol,
- File::Spec->catdir($rdirs, $default),
- ''
- )
- }
- else {
- return File::Spec->catdir($rdirs, $default);
- }
-}
-
-
sub _prefixify {
my($self, $path, $sprefix, $type) = @_;
my $rprefix = $self->prefix;
- return '' unless defined $path;
-
$self->log_verbose(" prefixify $path from $sprefix to $rprefix\n");
# Translate $(PERLPREFIX) to a real path.
@@ -109,7 +90,7 @@ sub _prefixify {
$self->log_verbose(" rprefix translated to $rprefix\n".
" sprefix translated to $sprefix\n");
- if( length($path) == 0 ) {
+ if( length $path == 0 ) {
$self->log_verbose(" no path to prefixify.\n")
}
elsif( !File::Spec->file_name_is_absolute($path) ) {