minetest.get_perlin() and minetest.get_perlin_map() Return nil
The minetest.get_perlin() function returns nil in 0.4.8 (haven't tried other versions). The minetest.get_perlin_map() function, which is barely mentioned in lua_api.txt and not documented anywhere on the wiki, also returns nil in this version.
The PerlinNoise() constructor does return a valid object, on the other hand, as does the PerlinNoiseMap() constructor (which is not documented in the wiki).
There seem to be no notes in lua_api.txt or the wiki about any of these functions being deprecated or replaced, and without digging through Git history logs or source code it is impossible to tell the intent and thus whether it is the implementation or the documentation that needs to be fixed.
Running Ubuntu 13.10 with the minetestc55 0.4.8-0ppa1~ubuntu13.10.1 package installed through the stable apt repo, though I suspect there is nothing platform specific about this behavior.
The PerlinNoise() constructor does return a valid object, on the other hand, as does the PerlinNoiseMap() constructor (which is not documented in the wiki).
There seem to be no notes in lua_api.txt or the wiki about any of these functions being deprecated or replaced, and without digging through Git history logs or source code it is impossible to tell the intent and thus whether it is the implementation or the documentation that needs to be fixed.
Running Ubuntu 13.10 with the minetestc55 0.4.8-0ppa1~ubuntu13.10.1 package installed through the stable apt repo, though I suspect there is nothing platform specific about this behavior.