Results 1 to 1 of 1
Hi !
I am new to PERL programming in which I am using html parser.
I have installed HTML parser but when I run a Perl program.It gives the following ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-22-2007 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 5
not able to use html parser
Hi !
I am new to PERL programming in which I am using html parser.
I have installed HTML parser but when I run a Perl program.It gives the following error:
Can't locate HTML/Manipulator.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at Html_Content_Filter.pl line 3.
BEGIN failed--compilation aborted at Html_Content_Filter.pl line 3.
The code I am running is as follow:
Also I want to know how can I do filtering from local files.Code:#!/usr/bin/perl use HTML::Manipulator; my $html = <<HTML; <h1 id=title>Pal</h1> <a href='/home/bhagwat/dumps/200608221341158758.txt' id=link></a>.... HTML my $content = HTML::Manipulator::extract_content($html, 'link'); if($content ne "") print("Content find in File");
Any help is heartly welcome....
Thanks in advanced
Bhagwat


Reply With Quote
