RE: Big endian C to perl on x86 of binary file into structure

2007-09-16 Thread Suresh Govindachar
$Bill wrote: Suresh Govindachar wrote: The following code is meant for a Big-endian processor running linux. The code reads binary files and assigns values to structures. I would like to read the same data files in perl on Windows on little endian x86. Any tips on doing the

Re: Big endian C to perl on x86 of binary file into structure

2007-09-16 Thread Bill Luebkert
Suresh Govindachar wrote: $Bill wrote: Suresh Govindachar wrote: The following code is meant for a Big-endian processor running linux. The code reads binary files and assigns values to structures. I would like to read the same data files in perl on Windows on little

Re: Big endian C to perl on x86 of binary file into structure

2007-09-15 Thread Bill Luebkert
Suresh Govindachar wrote: Hello, The following code is meant for a Big-endian processor running linux. The code reads binary files and assigns values to structures. I would like to read the same data files in perl on Windows on little endian x86. Any tips on doing the

Big endian C to perl on x86 of binary file into structure

2007-09-14 Thread Suresh Govindachar
Hello, The following code is meant for a Big-endian processor running linux. The code reads binary files and assigns values to structures. I would like to read the same data files in perl on Windows on little endian x86. Any tips on doing the translation? typedef struct s_str_boo