perl module that allows remote function calls