a perl module for generating prolog facts from perl data structures