There's a nice perl module which I really want to use:
You create a PDF in the following manner (According to the instructions)
...lines of code....
if you don't add FILENAME, the output goes to STDOUT. The problem is I need the output in a variable. How can I redirect STDOUT into a variable?