in reply to which database is best for perl ?

I agree with others that most will work just fine. I will note that PostgreSQL now has some support for stored procedures written in Perl.