I have inherited a script that uses libwww and its dependencies
to hit some webpages and extract some info. The problem
was my machine did not have any of the libwww and its dependencies.
So I went and downloaded and installed each one from CPAN,
here they are with their respective version numbers:
Digest-MD5-2.12
Font-AFM-1.18
HTML-Format-1.23
HTML-Parser-3.13
HTML-Tagset-3.02
HTML-Tree-3.05
MIME-Base64-2.11
URI-1.09
libnet-1.0703
libwww-perl-5.48
When I run my script, the line that uses the format method of
the HTML::FormatText object I get:
"Can't locate auto/HTML/Parser/traverse.al in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /usr/lib/perl5/site_perl/5.005/HTML/Formatter.pm line 94"
I think it has to do with HTML-Format and/or HTML-Tree, but I
can not even find this traverse.al file only a traverse.pod in
/usr/lib/perl5/site_perl/5.005/HTML/Element
I am running Redhat 6.2 and perl 5.005_03
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.