ok? Did you try what I provided? I still believe you're asking for
say for unpack "d*", $contents; # To print them as you were.
my @numbers = unpack "d*", $contents; # To store them in an array.
Mini-Tutorial: Formats for Packing and Unpacking Numbers
In reply to Re^3: Converting bytes to floats
by ikegami
in thread Converting bytes to floats
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |