Rafaël Garcia-Suarez > PerlIO-via-StripHTML-0.04 > PerlIO::via::StripHTML

Download:
PerlIO-via-StripHTML-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.04   Source  

NAME ^

PerlIO::via::StripHTML - PerlIO layer to strip HTML tags from an input file

SYNOPSIS ^

    use PerlIO::via::StripHTML;
    open my $file, '<:via(StripHTML)', 'foo.html'
        or die "Can't open foo.html: $!\n";

DESCRIPTION ^

This package implements a PerlIO layer, for reading files only. It strips HTML tags from the input, leaving only plain text. This can be useful, for example, to find something in the text of a HTML page.

BUGS ^

This is only a preliminary version.

SEE ALSO ^

PerlIO::via

AUTHOR ^

Copyright (c) 2002 Rafael Garcia-Suarez. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The HTML stripping code was borrowed from the eg/htext script in the HTML-Parser distribution.

syntax highlighting: