Skip to content

Commit 76d6ae3

Browse files
committed
correct example to unit module
1 parent 2624102 commit 76d6ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Language/5to6.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ C<is export> role on the relevant subs and I<all> subs with this role are
11341134
then exported. Hence, the following module C<Bar> exports the subs C<foo>
11351135
and C<bar> but not C<baz>:
11361136
1137-
module Bar;
1137+
unit module Bar;
11381138
11391139
sub foo($a) is export { say "foo $a" }
11401140
sub bar($b) is export { say "bar $b" }

0 commit comments

Comments
 (0)