marto is absolutely correct that you want to look at
CAM::PDF. Take a look at
stvn's
Test::PDF for an example of how to use it.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?