[PATCH] perl: Add function to gather the license of a database.