[perl #129801] [LTA] Nesting LEAVE and ENTER phasers says "Cannot reference undeclared local 'enter_result__1"

2018-01-30 Thread Zoffix Znet via RT
On Mon, 03 Oct 2016 11:59:18 -0700, sml...@gmail.com wrote: > I tried to time a subroutine as follows: > > ➜ sub a { LEAVE say now - ENTER now; sleep 1 }; > ➜ a > ===SORRY!=== > Cannot reference undeclared local 'enter_result__1 > > Not sure if nesting phasers like this would

[perl #129801] [LTA] Nesting LEAVE and ENTER phasers says "Cannot reference undeclared local 'enter_result__1"

2018-01-30 Thread Zoffix Znet via RT
On Mon, 03 Oct 2016 11:59:18 -0700, sml...@gmail.com wrote: > I tried to time a subroutine as follows: > > ➜ sub a { LEAVE say now - ENTER now; sleep 1 }; > ➜ a > ===SORRY!=== > Cannot reference undeclared local 'enter_result__1 > > Not sure if nesting phasers like this would

[perl #129801] [LTA] Nesting LEAVE and ENTER phasers says "Cannot reference undeclared local 'enter_result__1"

2016-10-03 Thread via RT
# New Ticket Created by Sam S. # Please include the string: [perl #129801] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129801 > I tried to time a subroutine as follows: ➜ sub a { LEAVE say now - ENTER now; sleep 1