I need to run a program (svg2pdf) and capture the result in a scalar. I know that I can use the backtick operator to execute and capture the return value from a command, but svg2pdf accepts an input file and an output file. I need to send a scalar (output from an HTML::Template template) as the input file, and then capture the resulting PDF data to store in a database. How do I do this?