Author: ruoso Date: 2009-03-25 18:49:05 +0100 (Wed, 25 Mar 2009) New Revision: 25999
Modified: docs/Perl6/Spec/S11-modules.pod Log: [spec/S11] :DEFAULT is default in "is export" Modified: docs/Perl6/Spec/S11-modules.pod =================================================================== --- docs/Perl6/Spec/S11-modules.pod 2009-03-25 17:15:09 UTC (rev 25998) +++ docs/Perl6/Spec/S11-modules.pod 2009-03-25 17:49:05 UTC (rev 25999) @@ -12,9 +12,9 @@ Maintainer: Larry Wall <la...@wall.org> Date: 27 Oct 2004 - Last Modified: 13 Feb 2009 + Last Modified: 26 Mar 2009 Number: 11 - Version: 26 + Version: 27 =head1 Overview @@ -79,10 +79,10 @@ Exportation is now done by trait declaration on the exportable item: module Foo; # Tagset... - sub foo is export(:DEFAULT) {...} # :DEFAULT, :ALL + sub foo is export {...} # :DEFAULT, :ALL sub bar is export(:DEFAULT :others) {...} # :DEFAULT, :ALL, :others sub baz is export(:MANDATORY) {...} # (always exported) - sub bop is export {...} # :ALL + sub bop is export(:ALL) {...} # :ALL sub qux is export(:others) {...} # :ALL, :others Declarations marked as C<is export> are bound into the C<EXPORT> inner