Skip to content

Commit bbe693c

Browse files
committed
Don't over-process the sub when compiling
1 parent 418f54f commit bbe693c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/Language/create-cli.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ use either method to achieve the desired goal is entirely up to you.
101101
A more complicated example using a single positional and multiple
102102
named parameters:
103103
104+
=for code :method<False>
104105
# inside "frobnicate.p6"
105106
sub MAIN(
106107
Str $file where *.IO.f = 'file.dat',
@@ -143,6 +144,7 @@ Although you don't have to do anything in your code to do this, it may still
143144
be regarded as a bit terse. But there's an easy way to make that usage
144145
message better by providing hints using pod features:
145146
147+
=for code :method<False>
146148
# inside "frobnicate.p6"
147149
sub MAIN(
148150
Str $file where *.IO.f = 'file.dat', #= an existing file to frobnicate

0 commit comments

Comments
 (0)