perl syntax check mapping