You're almost certainly right about the problem. It's very likely that HTML::TreeBuilder is not installed on the server is causing the issue because that's one thing that would cause this. It's possible there's some issue with the way it's installed or it being corrupted, too.
The suggestion to use CGI::Carp qw( fatalsToBrowser ); should help you get an error message. There might also be something in the logs.
You can also, when in doubt, wrap a require() in an eval and then do any importing. This allows you to trap the failure specifically and do custom reporting or even try a different module.
Another way to approach this, which is generally less helpful for debugging but could help in this case, is to look in your hosting support documentation to see which modules are installed. Most hosting accounts with paid hosting services have this, or your company's internal hosting group should be able to tell you.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.