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

You may want to run the .html file through HTML::Tidy or HTML::Lint first.

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

Replies are listed 'Best First'.
Re^4: Converting all files in a directory to PDF
by NetWallah (Canon) on Oct 16, 2014 at 04:06 UTC
    No - just show us the first 3 lines of the html that is failing.

    Also, try running your code using:
      perl -d <your-code-file-name>

    Then, at the prompt, enter "c" (without the quotes), and <ENTER>.

    WHen your program crashes, there should be line numbers to look at. You can do a lot more with the "-d" option, including examining the data that caused the failure.

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