Count in octal: Difference between revisions

Content deleted Content added
m Remove inapplicable flag
→‎{{header|Perl 6}}: use base method
Line 822: Line 822:


=={{header|Perl 6}}==
=={{header|Perl 6}}==
<lang perl6>say .fmt: '%o' for 0 .. *;</lang>
<lang perl6>say .base(8) for ^Inf;</lang>
{{out}}
<pre>0</pre>
Here we arbitrarily show as many lines of output as there are lines in the program. <tt>:-)</tt>


=={{header|PHP}}==
=={{header|PHP}}==