in reply to Re^2: Storable byte order problem
in thread Storable byte order problem

Then try nfreeze instead. The docs explains that the functions starting with 'n' use portable ("network") byte order.