David Whipp writes: : Casey West wrote: : > So you're suggesting that we fake lexical scoping? That sounds more : > icky than sticking to true lexical scoping. A block dictates scope, : > not before and not after. I don't see ickyness about making that so. : : Perl is well known for its non-orthogonality. To say that "A block : dictates scope" is only possible definition. But what are the : unintended consequences of saying that an arglist dictates scope? : bare-blocks are not allowed, so a block is always part of an arglist! : : (In reality we'd probably want to keep both rules, because an arglist : can contain multiple blocks)
Non-orthogonality is not a virtue--shortcuts are a virtue. As shortcuts go, this particular one is not buying us much of anything that offsets the difficulty in learning it, so out it goes. Larry