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

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

Thread Next
From:
Orton, Yves
Date:
October 20, 2003 06:22
Subject:
RE: [perl #24250] "return" required in some anonymous closures
Message ID:
71B318898201D311845C0008C75DAD1C08961319@defra1ex2
> >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, such as procedure
declarations....

Or did I miss your point?

Yves

Thread Next


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