Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Scope difference between compile-time and run-time

by dave_the_m (Monsignor)
on Jun 01, 2021 at 19:19 UTC ( [id://11133381] : note . print w/replies, xml ) Need Help??


in reply to Scope difference between compile-time and run-time ( if( my $x = ... ) {...} )

It's a bug, but one of those more likely to break things by fixing it than by leaving it as is.

Dave.

  • Comment on Re: Scope difference between compile-time and run-time

Replies are listed 'Best First'.
Re^2: Scope difference between compile-time and run-time
by LanX (Saint) on Jun 01, 2021 at 19:29 UTC
    Out of curiosity:

    Is it at least theoretically feasible to fix it as part of a feature such that a use 5.36; would avoid that bug?

    I'm not saying this has high priority ...

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      I've not looked closely, but I assume yes.

      Dave.