Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 76041
Status: resolved
Priority: 0/
Queue: Test-DBIx-Class

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

Bug Information
Severity: Important
Broken in:
  • 0.31
  • 0.32
Fixed in: 0.33



Subject: Bareword "test_recursive" not allowed while "strict subs"
Since bleadperl 5.15.4-401 a bugfix reveals more often when a Module::Install based Makefile.PL uses a bareword. Test::DBIx::Class is affected with the word "test_recursive". That is why the matrix shows only yellow since 5.15.5: http://matrix.cpantesters.org/?dist=Test%3A%3ADBIx%3A%3AClass Where is this "test_recursive" coming from? If it is a typo, I think it can safely be removed, it was appareently never effective. Older perls simply ignore the bareword. Related report: https://rt.cpan.org/Ticket/Display.html?id=75534 HTH&&Regards,
On 2012-03-26 01:45:57, ANDK wrote: Show quoted text
> Since bleadperl 5.15.4-401 a bugfix reveals more often when a > Module::Install based Makefile.PL uses a bareword. Test::DBIx::Class is > affected with the word "test_recursive". That is why the matrix shows > only yellow since 5.15.5: > > http://matrix.cpantesters.org/?dist=Test%3A%3ADBIx%3A%3AClass > > Where is this "test_recursive" coming from? If it is a typo, I think it > can safely be removed, it was appareently never effective. Older perls > simply ignore the bareword. > > Related report: https://rt.cpan.org/Ticket/Display.html?id=75534 >
The problem still persists with perl 5.16.0 RC0. Regards, Slaven
On Mon Mar 26 01:45:57 2012, ANDK wrote: Show quoted text
> Where is this "test_recursive" coming from? If it is a typo, I think it > can safely be removed, it was appareently never effective. Older perls > simply ignore the bareword.
Looks like it is a function call. Adding empty parentheses makes things work.
On Fri Aug 02 14:48:08 2013, DOHERTY wrote: Show quoted text
> On Mon Mar 26 01:45:57 2012, ANDK wrote:
> > Where is this "test_recursive" coming from? If it is a typo, I think > > it > > can safely be removed, it was appareently never effective. Older > > perls > > simply ignore the bareword.
> > Looks like it is a function call.
Never mind. It was simply a typo of "tests_recursive" -- fixed in 0.33 -- https://metacpan.org/changes/distribution/Test-DBIx-Class#L32
This was resolved as previously noted.