PDF::Toolkit provides a simple interface for querying and unpdation PDF metadata like the document Author and Title.