Branch: refs/heads/yves/handy_memeq_doc_tweak
Home: https://github.com/Perl/perl5
Commit: 62a8fb5aa76e20e5ae1c2b86b388433e6b9c8b5b
https://github.com/Perl/perl5/commit/62a8fb5aa76e20e5ae1c2b86b388433e6b9c8b5b
Author: Yves Orton <[email protected]>
Date: 2026-07-10 (Fri, 10 Jul 2026)
Changed paths:
M handy.h
M pod/perlguts.pod
Log Message:
-----------
handy.h - update docs for memEQ() / memEQs() to clairify their subtle
differences and uses
These two macro functions have the same number of args, but do subtly
different things, with subtly different requirements and which are
absolutely not direct replacements for each other yet easily mistaken
for each other. You could argue that memEQs() is much more like a
hypothetical 4 argument comparison of (ptr1,len2) vs (ptr2,len2) than
it is to the 3 argument comparison that memEQ() uses.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications