develooper Front page | perl.perl6.language | Postings from May 2008

Re: nested 'our' subs - senseless?

Thread Previous | Thread Next
From:
John M. Dlugosz
Date:
May 5, 2008 06:02
Subject:
Re: nested 'our' subs - senseless?
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:
>
> No, because {...} is just a declaration. You can give a
> definition later in the surrounding module/package/class.
> Within that scope there can be only one definition, of course.

I did not mean to use { ... } to mean declaration only, but to show that 
I omitted the good stuff.  In Perl 6, it is not "declaration only" but a 
body that doesn't complain when it is redefined, so that should not matter.

Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About