Alien-V8

 view release on metacpan or  search on metacpan

inc/inc_Module-Build/Module/Build/Platform/VMS.pm  view on Meta::CPAN


        # Two cases of tilde handling
        if ($arg =~ m#^~/#) {

            # Simple case, just merge together
            $newdirs = File::Spec::Unix->catdir(@hdirs, @dirs);

        } else {

            # Complex case, need to add an updir - No delimiters
            my @backup = File::Spec::Unix->splitdir(File::Spec::Unix->updir);

            $newdirs = File::Spec::Unix->catdir(@hdirs, @backup, @dirs);

        }

        # Now put the two cases back together
        $arg = File::Spec::Unix->catpath($hvol, $newdirs, $file);

    }
    return $arg;

}



( run in 0.595 second using v1.01-cache-2.11-cpan-49f99fa48dc )