pp_ne() needs a CORRECT boolean.
Jarkko Hietaniemi [Wed, 28 Mar 2001 15:13:18 +0000 (15:13 +0000)]
p4raw-id: //depot/perl@9405

pp.c

diff --git a/pp.c b/pp.c
index f7f89e1..fde8473 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -1716,7 +1716,7 @@ PP(pp_ne)
     dSP; tryAMAGICbinSET(ne,0);
 #ifndef NV_PRESERVES_UV
     if (SvROK(TOPs) && SvROK(TOPm1s)) {
-       SETs(boolSV(SvRV(TOPs) == SvRV(TOPm1s)));
+       SETs(boolSV(SvRV(TOPs) != SvRV(TOPm1s)));
        RETURN;
     }
 #endif