Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 87004
Status: resolved
Priority: 0/
Queue: Test-MockModule

People
Owner: GFRANKS [...] cpan.org
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: 0.06



Subject: Test fail without CGI.pm
Tests fail with a warning "Cant locate CGI.pm in @INC" CGI is not listed in prereqs. Problem that 1) CGI is going to be dropped from core 2) It's already dropped from CentOS 6 (even if "perl" or "perl-core" packages) and installed. Probably Fedora affected too. more info http://www.nntp.perl.org/group/perl.perl5.porters/2009/08/msg149747.html
I have a fix for this issue in this github repository: https://github.com/stephenenelson/test-mockmodule I replaced CGI with an example module, making it more resistant to Perl 5 core changes. On Wed Jul 17 18:11:04 2013, vsespb wrote: Show quoted text
> Tests fail with a warning "Cant locate CGI.pm in @INC" > > CGI is not listed in prereqs. > > Problem that > 1) CGI is going to be dropped from core > 2) It's already dropped from CentOS 6 (even if "perl" or "perl-core" > packages) > and installed. Probably Fedora affected too. more info > http://www.nntp.perl.org/group/perl.perl5.porters/2009/08/msg149747.html
On 2013-07-17 18:11:04, vsespb wrote: Show quoted text
> Tests fail with a warning "Cant locate CGI.pm in @INC" > > CGI is not listed in prereqs. > > Problem that > 1) CGI is going to be dropped from core
That happened with perl 5.21.x. CGI.pm is not anymore part of the perl core.
On 2013-08-30 22:53:33, STEPHEN wrote: Show quoted text
> I have a fix for this issue in this github repository: > > https://github.com/stephenenelson/test-mockmodule > > I replaced CGI with an example module, making it more resistant to > Perl 5 core changes.
Excellent. Release soon? I got Travis builds dying on this. :-( David
RT-Send-CC: SIMONFLK [...] cpan.org
On 2013-08-30 22:53:33, STEPHEN wrote: Show quoted text
> I have a fix for this issue in this github repository: > > https://github.com/stephenenelson/test-mockmodule > > I replaced CGI with an example module, making it more resistant to > Perl 5 core changes.
Hey there, Simon, any chance of a release soon? If you need someone else to do it, you could add me or Stephen (if he's willing) as co-maintainers via PAUSE. Thanks, David
RT-Send-CC: dwheeler [...] cpan.org, SREZIC [...] cpan.org, victor [...] vsespb.ru, stephenenelson [...] mac.com
This update was merged in and released today in v0.06 of Test::MockModule.