The stupid question is the question not asked | |
PerlMonks |
Re: How can I programatically determine the Endian-ness of the CPU?by wog (Curate) |
on Jan 26, 2002 at 05:14 UTC ( [id://141707]=note: print w/replies, xml ) | Need Help?? |
In addition to checking Config as suggested by grep, you can use a solution provided by perlport. To quote:
If you need to distinguish between endian architectures you could use either of the variables set like so:
In Section
Seekers of Perl Wisdom
|
|