diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-03-23 16:15:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-03-23 16:15:58 +0000 |
commit | 6952d67eb351266a502cac44072fad4994f66b8c (patch) | |
tree | eebcdd231a1442be0dd7150a7cccc5c9a25f614b /op.c | |
parent | 54e8619f399d7124d2d993e15e1e69e86b9b334b (diff) | |
download | perl-6952d67eb351266a502cac44072fad4994f66b8c.tar.gz |
Change 30080 was wrong to swap the BEGIN test to memEQ
p4raw-id: //depot/perl@30724
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5405,7 +5405,7 @@ S_process_special_blocks(pTHX_ const char *const fullname, GV *const gv, const char *const name = colon ? colon + 1 : fullname; if (*name == 'B') { - if (memEQ(name, "BEGIN", 5)) { + if (strEQ(name, "BEGIN")) { const I32 oldscope = PL_scopestack_ix; ENTER; SAVECOPFILE(&PL_compiling); |