Skip to content

Commit 35b4489

Browse files
committed
methods can exist independently of objects
1 parent 29fd20f commit 35b4489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/functions.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Routines are the smallest means of code reuse in Perl 6. They come in several
88
forms, most notably L<methods|/type/Method>, which belong in classes and roles and are
99
associated with an object, and functions, also called I<subroutines> or short
10-
L<sub|/type/Sub>s, which exist independently of objects.
10+
L<sub|/type/Sub>s, which can be called independently of objects.
1111
1212
Subroutines default to lexical (C<my>) scoping, and calls to them are
1313
generally resolved at compile time.

0 commit comments

Comments
 (0)