Skip Menu |

This queue is for tickets about the Eval-WithLexicals CPAN distribution.

Report information
The Basics
Id: 81479
Status: resolved
Priority: 0/
Queue: Eval-WithLexicals

People
Owner: Nobody in particular
Requestors: davidp [...] preshweb.co.uk
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: test fails with PERL5OPT set to -M5.010
# Failed test 'Hints are set per strictures' # at t/hints.t line 32. # Structures begin differing at: # ${ $got} = '1794' # ${$expected} = '132866' # Looks like you failed 1 test of 8. t/hints.t ... Dubious, test returned 1 (wstat 256, 0x100) This was on perl 5.14.2 (x86_64-linux-gnu-thread-multi) (from Ubuntu 12.04.1 LTS). Turned out to be down to my env vars: [davidp@columbia:~]$ env | grep PERL PERL5LIB=/usr/local/uk2net/lib PERL_CPANM_OPT=--sudo --mirror http://cpan.mirrors.uk2.net/ PERL5OPT=-M5.010 As you can see, I have $PERL5OPT set to -M5.010 to automatically enable 'say' etc. The answer may well be just "Don't do that, then", but thought it worth mentioning that that caused the test to fail unexpectedly. My first thought was that it was causing strictures to be enabled before the test expected them to be, but that would only hold if it was 'use 5.012' (5.12), not 5.10. Hmm.
Fixed in 1.003000.