Host introspection: Difference between revisions
m
→{{header|Raku}}: typo
Thundergnat (talk | contribs) (→{{header|Raku}}: Add an alternate) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: typo) |
||
Line 992:
<lang perl6>say blob8.new(1,0).read-int16(0) == 1 ?? "little-endian" !! "big-endian"</lang>
In Rakudo 2019.01 the dynamic
<lang perl6>say join ', ', $*KERNEL, $*KERNEL.bits, $*KERNEL.arch, $*KERNEL.endian</lang>
{{out}}
|