use Config; # This should print 8 if on a 64 bit machine... print $Config{nvsize}, " float size in bytes\n";