mapper from perlex to perdep