You can reverse byte order with reverse in scalar context: $str = reverse $str; which will save you the split, temp array and join.
After Compline,
Zaxo
In reply to Re: Packing floats and reversing endian
by Zaxo
in thread Packing floats and reversing endian
by YuckFoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |