We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 542b373 + 19b81e8 commit 459c66eCopy full SHA for 459c66e
doc/Language/modules.pod
@@ -83,6 +83,13 @@ them with the L<is export> trait.
83
class MyModule::MyClass {};
84
=end code
85
86
+As with all traits, if applied to a routine, "is export" should appear after
87
+any argument list.
88
+
89
+ =begin code
90
+ sub foo (Str $string) is export { ... }
91
+ =end code
92
93
You can pass named parameters to C<is export> to group symbols for exporting
94
then the importer can pick and choose. There are three predefined
95
tags: C<ALL>, C<DEFAULT> and C<MANDATORY>.
0 commit comments