You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ 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 be reasonable to support,
but even if not, the error message should explain what's going on in
user-friendly terms and not leak an internal variable name.
On Mon, 03 Oct 2016 11:59:18 -0700, smls75@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 be reasonable to support,
but even if not, the error message should explain what's going on in
user-friendly terms and not leak an internal variable name.
Migrated from rt.perl.org#129801 (status was 'resolved')
Searchable as RT129801$
The text was updated successfully, but these errors were encountered: