Skip Menu |

This queue is for tickets about the CGI-Application-Structured-Tools CPAN distribution.

Report information
The Basics
Id: 50477
Status: resolved
Worked: 20 min
Priority: 0/
Queue: CGI-Application-Structured-Tools

People
Owner: VANAMBURG [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Calling binary "perl" does not call the right perl
Grepping through cpantesters results I find Can't locate Module/Starter.pm I found the culprit in this line in t/001_load.t: system("perl",$as_pl,"--module",TEST_APP ,"--author","testauth","--email",'test@any.com') == 0 or die "cannot create test application"; The "perl" you are calling there is the first perl in the $PATH, which is not necessarily the one we are testing here. You'd want to use $^X instead or even better: let Probe::Perl determine it. Regards,
Subject: Re: [rt.cpan.org #50477] Calling binary "perl" does not call the right perl
Date: Wed, 14 Oct 2009 12:05:54 -0400
To: bug-CGI-Application-Structured-Tools [...] rt.cpan.org
From: Gordon Van Amburg <gordon [...] minipeg.net>
Andreas, Thank you very much for this kind assistance. You have enlightened me and I will submit an updated package this week. Regards, Gordon On Tue, 2009-10-13 at 22:33 -0400, Andreas Koenig via RT wrote: Show quoted text
> Tue Oct 13 22:33:45 2009: Request 50477 was acted upon. > Transaction: Ticket created by ANDK > Queue: CGI-Application-Structured-Tools > Subject: Calling binary "perl" does not call the right perl > Broken in: 0.006 > Severity: Normal > Owner: Nobody > Requestors: ANDK@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=50477 > > > > Grepping through cpantesters results I find > > Can't locate Module/Starter.pm > > I found the culprit in this line in t/001_load.t: > > system("perl",$as_pl,"--module",TEST_APP > ,"--author","testauth","--email",'test@any.com') == 0 or die "cannot > create test application"; > > > The "perl" you are calling there is the first perl in the $PATH, which > is not necessarily the one we are testing here. You'd want to use $^X > instead or even better: let Probe::Perl determine it. > > Regards, >
Many thanks to ANDK <ANDK@cpan.org> for pointing out the problem with this test script. I have uploaded vsrsion 0.007 to fix this bug in the test suite of version 0.006. Regards, Gordon Van Amburg