Perl module to perform typed expressions validation