HTML::Highlight - A module to highlight words or patterns in HTML documents
This module provides colour Google-style highlighting of words or patterns in HTML documents. This feature is typically used to highlight search results. Each specified pattern or word is highlighted using a different color.
This module was originaly created to work together with fulltext indexing module DBIx::TextIndex, but it can be used independently.
Need for a highlighter that supports wildcards and phrases and takes HTML tags into account was my motivation to create the module.
perl Makefile.PL
make
make test
(become root)
make install
perldoc HTML::Highlight
LICENSE
Copyright (C) 2000 Tomas Styblo (tripie@cpan.org)
This module is free software; you can redistribute it and/or modify it under the terms of either:
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.
You should have received a copy of the Artistic License with this module, in the file ARTISTIC. If not, I'll be glad to provide one.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA