in reply to Re^2: Rules of Lexical Scoping
in thread Rules of Lexical Scoping
I personally believe that ysth has adequately answered that objection, but I would answer it this way: All of that happens under the hood; it has no user-visible effects. In any way that a perl programmer can tell, perl behaves just as ysth has described.s/ysth has described/dave_the_m has described/.
Also "has no user-visible effects" is an overstatement; should have no user-visible effects is more accurate. The rules describe how things should work; there may be bugs, and (as in the case of my $foo if 0;) there are things you can (but shouldn't) do to expose rule violations that for various reasons won't be fixed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Rules of Lexical Scoping
by jdporter (Paladin) on Nov 12, 2007 at 02:10 UTC | |
by tye (Sage) on Nov 12, 2007 at 02:39 UTC |