in reply to Re^2: Converting all files in a directory to PDF
in thread Converting all files in a directory to PDF

You need to narrow down the problem to one of your HTML files.

You either learn and use the perl debugger (perl -d) and put a breakpoint before the failure, then check the file name being processed, or, create a source directory with only one html file at a time.

It looks like the HTML may be malformed on line 2 of that file. Also check encoding utf8 ?

        "You're only given one little spark of madness. You mustn't lose it."         - Robin Williams

  • Comment on Re^3: Converting all files in a directory to PDF