Mod functions should respect perl being turned off.