in reply to MySQL UDF for Perl

I've no experience with UDF, but did you try to put the full path behind the name? Something like
CREATE FUNCTION myperl RETURNS STRING SONAME "/usr/lib/my_perl.so";
You'd probably peruse MySQL documentation about UDF, namely pre-requisites and installation details. Good luck!

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.