Modulinos: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: made clearer)
m (→‎{{header|Raku}}: Fix comment: Perl 6 --> Raku)
Line 1,401: Line 1,401:
=={{header|Raku}}==
=={{header|Raku}}==
(formerly Perl 6)
(formerly Perl 6)
Perl 6 automatically calls MAIN on direct invocation, but this may be a multi dispatch, so a library may have multiple "scripted mains".
Rake automatically calls MAIN on direct invocation, but this may be a multi dispatch, so a library may have multiple "scripted mains".
<lang perl6>class LUE {
<lang perl6>class LUE {
has $.answer = 42;
has $.answer = 42;