perl: Add db dependency