in reply to PDF::API2 not working?

I haven't seen enough code or error message text to be sure, but I think one or more of these things may help (as they tend to do for CGI errors with code 500): A 500 error means that the server can't serve the request because something went wrong with the program being run or with the web server's configuration. Typically with Apache and Perl, it means you forgot to print the Content-type header or that there's an error in the program which aborts before that gets printed and flushed from the buffer.