perl-5.10.0 will have new pack template modifiers "<" and ">" to force little-endian or big-endian interpretation of any of dDfFiIjJlLpPqQsS. Until then, fiddling with the bits as described by others above is likely to be your only option.
Hugo
In reply to Re: Unpacking Floating Point on architectures with different endians
by hv
in thread Unpacking Floating Point on architectures with different endians
by HaveBlue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |