Jump to content

Host introspection: Difference between revisions

m
→‎{{header|Perl 6}}: final quote was missing
(→‎{{header|Perl 6}}: Replace experimental pack with a native solution (taken from C example))
m (→‎{{header|Perl 6}}: final quote was missing)
Line 840:
say $*VM.config<ptr_size>;
my $bytes = nativecast(CArray[uint8], CArray[uint16].new(1));
say $bytes[0] ?? "little-endian" !! "big-endian";</lang>
{{out}}
<pre>8
2,392

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.