That's ok ... no need to apologise for that. But it would really help if you could provide a
(and simple) perl script that demonstrates one of the problems you are having.
Support for NaN's does not exist in perl for all architectures/platforms. It would help us to know which architecture and platform you're running.