+ - Work around P5#72210, resulting in fails on 5.8.8 -Duselongdouble
- Fix incorrect name in META (RT#107813)
0.26 2015-10-07 17:43 (UTC)
BEGIN {
my $provider;
- if ( $] < 5.008007 ) {
+ if ( "$]" < 5.008007 ) {
require Package::Stash::PP;
$provider = 'Package::Stash::PP';
}
use base 'Exporter';
our @EXPORT_OK = qw( DEBUGGER_NEEDS_CV_RENAME DEBUGGER_NEEDS_CV_PIVOT );
-use constant DEBUGGER_NEEDS_CV_RENAME => ( ( $] > 5.008_008 ) and ( $] < 5.013_006 ) );
-use constant DEBUGGER_NEEDS_CV_PIVOT => ( ( ! DEBUGGER_NEEDS_CV_RENAME ) and ( $] < 5.015_005 ) );
+use constant DEBUGGER_NEEDS_CV_RENAME => ( ( "$]" > 5.008_008 ) and ( "$]" < 5.013_006 ) );
+use constant DEBUGGER_NEEDS_CV_PIVOT => ( ( ! DEBUGGER_NEEDS_CV_RENAME ) and ( "$]" < 5.015_005 ) );
# FIXME - ideally this needs to be provided by some abstraction lib
# but we don't have that yet
skip "This part of the test segfaults perl $] with both tie() and B::H::EOS."
. ' Actual code (e.g. DBIx::Class) works fine so did not investigate further',
- 2000 if $] < 5.008003;
+ 2000 if "$]" < 5.008003;
local @INC = @INC;
my @code;
'Tied hinthash values not present in extended caller() on perls older than 5.10'
.', regardless of mode (PP or XS)',
1
- ) if ($] < 5.010_000);
+ ) if ("$]" < 5.010_000);
package DB;
Test::More::is( ( (caller(0))[10] || {} )->{foo}, 'bar', 'hinthash values visible in caller' );
}