in reply to How to convert a pdf file in to HTML

The problem is this:

document => \$real_path, # path or ref to a doc

What is meant with "ref to a doc" is if you already have the contents of a PDF file loaded in a scalar. Then you would pass a reference to it. But you have a path, in which case you need to only pass the scalar, like so:

document => $real_path, # path or ref to a doc
~Thomas~ 
"Excuse me for butting in, but I'm interrupt-driven..."

Replies are listed 'Best First'.
Re^2: How to convert a pdf file in to HTML
by elavarasan (Acolyte) on May 15, 2013 at 07:28 UTC
    Thank you thomas it is great!