From: | dam [...] cpan.org |
Subject: | does not know that 'use 5.012' implies 'use strict' |
We have the following bug reported to the Debian package of
Test-Strict (https://bugs.debian.org/749081):
It does not seem to be a bug in the packaging, so you may want to take
a look. Thanks!
------8<-----------8<-----------8<-----------8<-----------8<-----
Package: libtest-strict-perl
Version: 0.23-1
Severity: normal
Test::Strict returns false positives for code that uses:
use 5.012;
or a later version. Per the Perl documentation:
"use VERSION" also enables all features available in the
requested version as defined by the "feature" pragma,
disabling
any features not in the requested version's feature bundle.
See
feature. Similarly, if the specified Perl version is greater
than or equal to 5.12.0, strictures are enabled lexically as
with "use strict".
so saying "use 5.012" is sufficient to enable strictures, but
Test::Strict wants an explicit "use strict" (or one of a variety
of other helper modules).
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.13-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libtest-strict-perl depends on:
ii libdevel-cover-perl 1.14-1
ii perl 5.18.2-4
libtest-strict-perl recommends no packages.
libtest-strict-perl suggests no packages.
-- no debconf information
------8<-----------8<-----------8<-----------8<-----------8<-----
Thanks for considering,
Damyan Ivanov,
Debian Perl Group