A module for using Perl5 to write SQL functions