Call an object method: Difference between revisions
Content added Content deleted
(→{{header|Perl 6}}: Clean-up and simplification) |
(→Anonymous methods: It has a name so it's not anonymous.) |
||
Line 1,069: | Line 1,069: | ||
</lang> |
</lang> |
||
=== |
=== Classless methods === |
||
A method that is not in a class can be called by using the <code>&</code> sigil explicitly. |
|||
<lang perl6> |
<lang perl6> |