hi, im trying to read a database file from a specific non comercial software. I already decoded the parts I need. There are some double precision float numbers that I want to read. I used:
read(FILE,$number,8);
since I supposed the perl doubles are 64bit long.
The point is that when I print the variable $number, perl treats it like a string instead of as a number. Does any body knows a trick to do this? or I should use C++ or another more powerful language in low level operations.
Thank you for your help
Xavier Maurer
read(FILE,$number,8);
since I supposed the perl doubles are 64bit long.
The point is that when I print the variable $number, perl treats it like a string instead of as a number. Does any body knows a trick to do this? or I should use C++ or another more powerful language in low level operations.
Thank you for your help
Xavier Maurer