Are you asking how to check if Berkeley DB XML is installed on your system, or if you have the required Perl Database modules installed? If the latter is the case have a read at Berkeley DB XML usage in Perl which explains that the module can be located in Berkeley DB XML 2.2.13/dbxml/src/perl/DbXml/