Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Reaped: Re^4: How to make work HTML::HTMLDoc on browser?

by NodeReaper (Curate)
on Apr 16, 2013 at 08:29 UTC ( [id://1028844]=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to make work HTML::HTMLDoc on browser?
in thread How to make work HTML::HTMLDoc on browser?

This node was taken out by the NodeReaper on Apr 22, 2013 at 20:45 UTC
  • Comment on Reaped: Re^4: How to make work HTML::HTMLDoc on browser?

Replies are listed 'Best First'.
Re^5: How to make work HTML::HTMLDoc on browser?
by rnewsham (Curate) on Apr 16, 2013 at 10:35 UTC

    If htmldoc works from the command line but not using the code above then there must be something specific to your system. As it's working for me I am not sure what else to suggest as the code seems valid. Anything that would cause it to fail should output to your logs.

    Check the module documentation to see if it has any debugging options or bug reports for this issue. I believe it does have an error function for reporting errors it encountered. You could try running the example script from the command line rather than as a cgi. If you are confident with strace usage strace the script as it runs to look for missing files or permissions problems which are not getting logged.

      This is exactly right. I would be calling the error() method after every call to other methods of the PDF object. Be vigilant about testing for error messages after actions that can fail. If OP doesn't know how, it's time to learn.


      Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1028844]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found