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) Dave.