Jump to content

Host introspection: Difference between revisions

(Frink)
Line 718:
</pre>
=={{header|Perl 6}}==
{{works with|Rakudo|20122015-0609-14}}
<lang perl6>say $*VM<.config><byteorder></langptr_size>;
say pack('N', 123456789).unpack('V') == 123456789 ?? 'big-endian' !! 'little-endian';</lang>
{{out}}
<pre>12345678</pre>8
little-endian</pre>
 
=={{header|PicoLisp}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.