From: Gurusamy Sarathy Date: Sat, 28 Nov 1998 13:07:17 +0000 (+0000) Subject: fix typo in pp_defined() causing C to fail X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b377df57679ab68ed17b736ebee0458acb25b21;p=p5sagit%2Fp5-mst-13.2.git fix typo in pp_defined() causing C to fail p4raw-id: //depot/perl@2345 --- diff --git a/pp.c b/pp.c index 07b83db..7b7eb67 100644 --- a/pp.c +++ b/pp.c @@ -727,11 +727,11 @@ PP(pp_defined) RETPUSHNO; switch (SvTYPE(sv)) { case SVt_PVAV: - if (AvMAX(sv) >= 0 || SvGMAGICAL(sv)) + if (AvMAX(sv) >= 0 || SvRMAGICAL(sv)) RETPUSHYES; break; case SVt_PVHV: - if (HvARRAY(sv) || SvGMAGICAL(sv)) + if (HvARRAY(sv) || SvRMAGICAL(sv)) RETPUSHYES; break; case SVt_PVCV: