diff options
author | Karl Williamson <khw@cpan.org> | 2017-03-08 20:31:25 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-11-06 12:50:05 -0700 |
commit | c8b388b0c776dab4a28db03739aff4d64daccada (patch) | |
tree | 3bf17c3a7a4b2b7f260199423ce0baf55dc9e809 /hv.c | |
parent | 98d1c64ef90693f86df84c4ce96718ed136e933c (diff) | |
download | perl-c8b388b0c776dab4a28db03739aff4d64daccada.tar.gz |
Rename strEQs to strBEGINs; remove strNEs
The original names are confusing.
See thread beginning with
http://nntp.perl.org/group/perl.perl5.porters/244335
The two macros are mapped into just that one, complementing the result
for the few cases where strNEs was used.
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1279,7 +1279,7 @@ S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, sv_2mortal((SV *)gv) ); } - else if (klen == 3 && strEQs(key, "ISA") && GvAV(gv)) { + else if (klen == 3 && strBEGINs(key, "ISA") && GvAV(gv)) { AV *isa = GvAV(gv); MAGIC *mg = mg_find((SV*)isa, PERL_MAGIC_isa); |