Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 29810
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: cberry [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] make find_perl_interpreter simple on VMS
Download (untitled) / with headers
text/plain 370b
A number of Module::Build tests in blead were succeeding individually but failing when run from t/TEST. Rather than trying to fix humpty dumpty in the mainline version of find_perl_interpreter, the attached just returns $^X, which is already as good as you can possibly get for identifying the perl you are currently running. This was checked into blead as #32028.
Subject: find_interp.patch.txt
--- lib/Module/Build/Platform/VMS.pm;-0 Sun Sep 30 16:57:09 2007 +++ lib/Module/Build/Platform/VMS.pm Thu Oct 4 08:41:47 2007 @@ -343,6 +343,16 @@ sub _detildefy { } +=item find_perl_interpreter + +On VMS, $^X returns the fully qualified absolute path including version number. +It's logically impossible to improve on it for getting the perl we're currently +running, and attempting to manipulate it is usually lossy. + +=cut + +sub find_perl_interpreter { return $^X; } + =back =head1 AUTHOR
Thanks. Applied to svn r29810.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.