]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
5.9.5 fix
authorVincent Pit <vince@profvince.com>
Fri, 15 May 2009 22:38:07 +0000 (00:38 +0200)
committerVincent Pit <vince@profvince.com>
Fri, 15 May 2009 22:38:07 +0000 (00:38 +0200)
indirect.xs
t/30-scope.t

index b9314ae60a2e92298ff50c63a2c8029373f93a5c..4f1deb4d69937ce96ffd5e372f2866101bc94fc5 100644 (file)
@@ -256,7 +256,7 @@ STATIC U32 indirect_hash = 0;
 STATIC SV *indirect_hint(pTHX) {
 #define indirect_hint() indirect_hint(aTHX)
  SV *id;
-#if I_HAS_PERL(5, 10, 0)
+#if I_HAS_PERL(5, 9, 5)
  id = Perl_refcounted_he_fetch(aTHX_ PL_curcop->cop_hints_hash,
                                      NULL,
                                      __PACKAGE__, __PACKAGE_LEN__,
index f769de66fe59e2d721e0a82671d76aea7c01c69e..e9ab48009f03cded62c02978e96a53ebe2c03413 100644 (file)
@@ -59,7 +59,7 @@ sub expect {
    no indirect;
    eval 'my $x = new Bar';
   }
-  if ($] < 5.010) {
+  if ($] < 5.009005) {
    is($w, '', "eval 'no indirect; my \$x = new Bar'");
   } else {
    like($w, expect('Bar'), "no indirect; eval 'my \$x = new Bar'");