develooper Front page | perl.perl6.language | Postings from August 2001

Re: explicitly declare closures???

Thread Previous
From:
John Porter
Date:
August 21, 2001 06:11
Subject:
Re: explicitly declare closures???
Message ID:
20010821091149.C9169@min.net
Dave Mitchell wrote:
> ie by default lexicals are only in scope in their own sub, not within
> nested subs - and you have to explicitly 'import' them to use them.

No.  People who write closures know what they're doing.

When's the last time someone "accidentally" wrote a closure?


-- 
John Porter

Science class should not end in tragedy.


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About