From 6952d67eb351266a502cac44072fad4994f66b8c Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 23 Mar 2007 16:15:58 +0000 Subject: Change 30080 was wrong to swap the BEGIN test to memEQ p4raw-id: //depot/perl@30724 --- op.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'op.c') diff --git a/op.c b/op.c index c7b31ba908..c10bf952ac 100644 --- a/op.c +++ b/op.c @@ -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); -- cgit v1.2.1