develooper Front page | perl.perl5.porters | Postings from October 2003

RE: [perl #24250] "return" required in some anonymous closures

Thread Previous | Thread Next
Nick Ing-Simmons
October 20, 2003 07:24
RE: [perl #24250] "return" required in some anonymous closures
Message ID:
Yves Orton <> writes:
>> >Except that there is no such thing as package scope. There 
>> is file scope and
>> >block scope, nothing else.
>Obviously I only meant this at the lexical level...
>> >Personally I like the first one more....
>> And both are surely equivalent to 
>> {
>>  my $invisible_lexical;
>> }
>Well I did assume that more would be inside the block, 

Ah - I didn't I took your examples as "boiler plate" to generate 
a mythical 'package lexical'.

>such as procedure
>Or did I miss your point?



Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About