Skip Menu |

This queue is for tickets about the Slay-Makefile CPAN distribution.

Report information
The Basics
Id: 100500
Status: resolved
Priority: 0/
Queue: Slay-Makefile

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

Bug Information
Severity: (no value)
Broken in: 0.12
Fixed in:
  • 0.12_50
  • 0.13



Subject: Test suite fails with perl 5.21.x because of extended strict error message
Additionally to the Carp.pm issue (see https://rt.cpan.org/Ticket/Display.html?id=75383) there's another change in error messages in perl 5.21.x: instead of something like Global symbol "$BUILD" requires explicit package name at 10_simple.smak line 2. at SlayMakefile.main line 26 error messages for "use strict" violations look like this: Global symbol "$BUILD" requires explicit package name (did you forget to declare "my $BUILD"?) at 10_simple.smak line 2. at SlayMakefile.main line 26
On 2014-11-21 13:39:43, SREZIC wrote: Show quoted text
> Additionally to the Carp.pm issue (see > https://rt.cpan.org/Ticket/Display.html?id=75383) there's another > change in error messages in perl 5.21.x: instead of something like > > Global symbol "$BUILD" requires explicit package name at > 10_simple.smak line 2. at SlayMakefile.main line 26 > > error messages for "use strict" violations look like this: > > Global symbol "$BUILD" requires explicit package name (did you forget > to declare "my $BUILD"?) at 10_simple.smak line 2. at > SlayMakefile.main line 26
A patch for this problem may be found in http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Slay-Makefile-0.12-RT100500.patch This patch includes also the changes for RT #75383.
On 2014-11-21 13:39:43, SREZIC wrote: Show quoted text
> Additionally to the Carp.pm issue (see > https://rt.cpan.org/Ticket/Display.html?id=75383) there's another > change in error messages in perl 5.21.x: instead of something like > > Global symbol "$BUILD" requires explicit package name at > 10_simple.smak line 2. at SlayMakefile.main line 26 > > error messages for "use strict" violations look like this: > > Global symbol "$BUILD" requires explicit package name (did you forget > to declare "my $BUILD"?) at 10_simple.smak line 2. at > SlayMakefile.main line 26
Fixed.