Hi,
Trying to view the internal "native" representation of floating point
numbers, so I tried:
perl -e "print unpack('B*', pack('d', 1.0))"
perl -e "print unpack('B*', pack('d', 2.0))"
perl -e "print unpack('B*', pack('d', 3.0))"
Is that the correct way ? I get:
00
hi all,
i want to use Win32's SetErrorMode to disable the error popup (page fault),
in a perl program which happens from time to time intermitently. I want to
suppress the error dialog (which halts the process), so i can restart it
automatically on failure...the program is a server, so this is n
> As you can see, perl simplified your unquoted numerical strings
> by dropping the
> leading zeros *before* stringifying them to use as hash keys. Quoting them
> explicitly solves the problem.
Actually, Perl interprets the values with leading zeros as octal numbers;
that's why 00056 became 46