in reply to read + unpack
read the following 6 values which are 3 doubles (8bytes), 2 long integer (4bytes) and another double (8bytes again)
For double precision floats use the d template in unpack, you are using f which is for single precision floats. See pack for details
citromatik
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: read + unpack
by andri85 (Novice) on May 06, 2009 at 22:51 UTC |
In Section
Seekers of Perl Wisdom