Application logic and business rules are not the same thing. Business rules would need to be enforced on the data irrespective of the application accessing it. And as for Perl in the database, may I introduce you to
PLPerl.
I may be biased, I am a DBA first and programmer second, my preferred 'ORM' would be using stored procedures in the database when executing object methods, like
DBIx-ProcedureCall