in reply to
SDBM_File byte order
File::Binary
would do what you want, as long as you don't need longer than 32-bit words.
Comment on
Re: SDBM_File byte order
In Section
Seekers of Perl Wisdom