Author: lwall Date: 2009-10-09 04:58:38 +0200 (Fri, 09 Oct 2009) New Revision: 28671
Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] fix fossil spotted by diakopter++ Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2009-10-09 00:16:10 UTC (rev 28670) +++ docs/Perl6/Spec/S02-bits.pod 2009-10-09 02:58:38 UTC (rev 28671) @@ -13,8 +13,8 @@ Created: 10 Aug 2004 - Last Modified: 3 Oct 2009 - Version: 182 + Last Modified: 8 Oct 2009 + Version: 183 This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopses also contain @@ -1407,9 +1407,8 @@ my sub hat of Rabbit {...} # of type my sub hat (--> Rabbit) {...} # of type -If a subroutine is not explicitly scoped, it belongs to the current -namespace (module, class, grammar, or package), as if it's scoped with -the C<our> scope modifier. Any return type must go after the name: +If a subroutine is not explicitly scoped, it defaults to C<my> scoping. +Any return type must go after the name: sub lay as Egg {...} # as type sub lay of Egg {...} # of type