Subject: | [patch] evalbytes added in 5.15.5 |
Perl 5.15.5 added a variant on the stringy eval() called evalbytes(),
which forces byte (as opposed to unicode) semantics on the string being
eval-ed. This causes a failure in t/11keywords.t:
$ make test
PERL_DL_NONLAZY=1 /usr/local/perl/5.15.5/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/10basic.t ..... ok
t/11keywords.t .. 1/?
# Failed test 'keyword: evalbytes'
# at t/11keywords.t line 33.
# Looks like you failed 1 test of 271.
t/11keywords.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/271 subtests
Test Summary Report
-------------------
t/11keywords.t (Wstat: 256 Tests: 271 Failed: 1)
Failed test: 59
Non-zero exit status: 1
Files=2, Tests=278, 0 wallclock secs ( 0.07 usr 0.01 sys + 0.10 cusr
0.01 csys = 0.19 CPU)
Result: FAIL
Failed 1/2 test programs. 1/278 subtests failed.
make: *** [test_dynamic] Error 1
Wyants-White-Too:~/.cpan/build/B-Keywords-1.10-SoX7pb tom 10:44:35
The attached universal diff adds 'evalbytes' to @Functions between
'eval' and 'exec'.
Thanks,
Tom
Subject: | B_Keywords.pat |
Message body not shown because it is not plain text.