Program name: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (Fix Perl 6 -> Raku in comments)
Line 1,506: Line 1,506:
(formerly Perl 6)
(formerly Perl 6)
{{works with|rakudo|2015-10-16}}
{{works with|rakudo|2015-10-16}}
In Perl 6, the name of the program being executed is in the special global variable <tt>$*PROGRAM-NAME</tt>.
In Raku, the name of the program being executed is in the special global variable <tt>$*PROGRAM-NAME</tt>.
<lang perl6>say $*PROGRAM-NAME;</lang>
<lang perl6>say $*PROGRAM-NAME;</lang>