Native shebang: Difference between revisions
Rename Perl 6 -> Raku, alphabetize, minor clean-up
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
|||
Line 575:
<pre>
./echo.pl Hello, world!
</pre>▼
{{out}}▼
<pre>▼
Hello, world!▼
</pre>▼
=={{header|Perl 6}}==▼
Perl 6 is not installed by default on most systems and does not have a default install directory, so the path will vary by system.▼
{{works with|Rakudo|2015-11-20}}▼
'''File: echo.p6'''▼
<lang perl6>#!/path/to/perl6▼
put @*ARGS;</lang>▼
'''Usage:'''▼
<pre>▼
./echo.p6 Hello, world!▼
</pre>
{{out}}
Line 677 ⟶ 660:
hello</pre>
(although it's hard to prove)
(formerly Perl 6)
▲Perl 6 is not installed by default on most systems and does not have a default install directory, so the path will vary by system.
▲{{works with|Rakudo|2015-11-20}}
▲'''File: echo.p6'''
▲<lang perl6>#!/path/to/perl6
▲put @*ARGS;</lang>
▲'''Usage:'''
▲<pre>
▲./echo.p6 Hello, world!
▲</pre>
▲{{out}}
▲<pre>
▲Hello, world!
▲</pre>
=={{header|REXX}}==
|