From: Father Chrysostomos Date: Sat, 9 Nov 2013 01:58:49 +0000 (-0800) Subject: [Merge] Make &CORE:: subs respect vmsish hints X-Git-Tag: upstream/5.20.0~1321 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84971b2da4f2d79008456cbf301504d283223cf7;p=platform%2Fupstream%2Fperl.git [Merge] Make &CORE:: subs respect vmsish hints Most lexical hints are stored in the statement’s nextstate(ment) op (aka cop or control op). That op is available at run time as PL_curcop, while the current op being executed is PL_op. &CORE:: subs intentionally lack a nextstate op so they can see the hints in the caller’s nextstate op. Two vmsish hints were being stored in the current op, so &CORE::exit() would not respect those hints, as &CORE::exit() executes the *same* exit op each time. This branch moves those hints to the nextstate op, so that &CORE::exit behaves the same way as exit(). --- 84971b2da4f2d79008456cbf301504d283223cf7