On Mon, May 5, 2008 at 6:01 AM, John M. Dlugosz <[EMAIL PROTECTED]> wrote: > 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.
Given that Perl 6 assigns a specific meaning to '{ ... }', it's recommended that examples that omit code instead be written as '{ doit }' or the like. -- Jonathan "Dataweaver" Lang