Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Reporter CPAN distribution.

Report information
The Basics
Id: 85823
Status: resolved
Priority: 0/
Queue: Test-Reporter

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

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



Subject: _get_perl_V always uses $^X
Patch attached.
Subject: 0001-Make-_get_perl_V-respect-its-perl-argument.patch
From ebfe43b3ec332a092ab10605fc674421abb990b2 Mon Sep 17 00:00:00 2001 From: Vincent Pit <perl@profvince.com> Date: Mon, 3 Jun 2013 13:29:27 +0200 Subject: [PATCH] Make _get_perl_V respect its 'perl' argument --- lib/Test/Reporter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Test/Reporter.pm b/lib/Test/Reporter.pm index 96fba6e..3ce5cf1 100644 --- a/lib/Test/Reporter.pm +++ b/lib/Test/Reporter.pm @@ -522,7 +522,7 @@ sub perl_version { sub _get_perl_V { my $self = shift; - my $perl ||= $^X; + my $perl = shift || $^X; my $q = $self->_get_sh_quote; my $cmdv = "$perl -V"; if($^O eq 'VMS'){ -- 1.8.2.1
Thank you. Applied.