Re: RFC 181 (v1) Formats out of core / New format syntax
[email protected] (H . Merijn Brand) Mon, 18 Sep 2000 16:48:52 +0200
| Newsgroups | perl.perl6.language.io |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 18 Sep 2000 08:43:05 -0600, Tom Christiansen <[email protected]> wrote: > I do not think you two are arguing about the same thing. > > Certainly as Bart has shown, formats *can* see lexicals. Your > illustration does not disprove that. It simply shows that lexical > scoping is static scoping, not dynamic scoping, and that the binding > of the variable to the format occurs as the format is declared, not > when a write executed. > > This is exactly the same thing as occurs with closures in terms of > declaration/creation versus their execution. All that matters is > what's in scope when the format or closure template is brought into > existence. It doesn't matter what happens later, which would be > dynamic scoping, not static scoping. And this is surely not > considered "not supporting lexicals". Badly chosen words/phrasing. My fault, core dumped. -- H.Merijn Brand Amsterdam Perl Mongers (http://www.amsterdam.pm.org/) using perl-5.005.03, 5.6.0, 5.7.1 & 516 on HP-UX 10.20 & 11.00, AIX 4.2 & 4.3, DEC OSF/1 4.0 and WinNT 4.0 SP-6a, often with Tk800.022 and/or DBD-Unify ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/