Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Getting error for html2text.pl running to view the perldoc for Wx

by bedohave9 (Acolyte)
on Aug 21, 2012 at 17:58 UTC ( #988811=perlquestion: print w/ replies, xml ) Need Help??
bedohave9 has asked for the wisdom of the Perl Monks concerning the following question:

I am getting an error to view perldoc Wx as the system asked for html2text.pl or lynx. I have downloaded the html2text.pl from CPAN and tried to run it manually. The below is the error thrown by the console when I started to run the html2text.pl. What is the best solution. Please help.

C:\strawberry\html2text-0.003>html2text.pl Can't locate Text/Format.pm in @INC (@INC contains: C:\Users\abc\perl5 +\lib\perl5\MSWin32-x64-multi-thread C:\Users\abc\perl5\lib\perl5/MSWi +n 32-x64-multi-thread C:\Users\abc\perl5\lib\perl5 C:/strawberry/perl/si +te/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at C:\ +strawb erry\html2text-0.003\html2text.pl line 93. BEGIN failed--compilation aborted at C:\strawberry\html2text-0.003\htm +l2text.pl line 93.

Comment on Getting error for html2text.pl running to view the perldoc for Wx
Download Code
Re: Getting error for html2text.pl running to view the perldoc for Wx
by Riales (Hermit) on Aug 21, 2012 at 18:16 UTC

    How did you download html2text.pl? It looks like you didn't install its dependencies. If you use cpan to install modules, it will take care of all the dependencies for you. Checking its prequisites on CPAN, it looks like it only has one:

    perl -MCPAN -e 'install Text::Format HTML::TreeBuilder'

      I do have installed both Text::Format, HTML::TreeBuilder, but still getting almost the same error.

      C:\strawberry\html2text-0.003>html2text.pl Can't locate HTML/TreeBuilder.pm in @INC (@INC contains: C:\Users\SPUL +LA~1\perl5\lib\perl5\MSWin32-x64-multi-thread C:\Users\SPULLA~1\perl5 +\lib\perl5/ MSWin32-x64-multi-thread C:\Users\SPULLA~1\perl5\lib\perl5 C:/strawber +ry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib + .) at C:\s trawberry\html2text-0.003\html2text.pl line 94. BEGIN failed--compilation aborted at C:\strawberry\html2text-0.003\htm +l2text.pl line 94.

        I do have installed both Text::Format, HTML::TreeBuilder, but still getting almost the same error.

        Well, that is impossible :) How/where did you install?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://988811]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2014-12-26 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls