NAME

HTML::Tidy - Web validation in a Perl object

VERSION

Version 0.02

$Header: /home/cvs/html-tidy/lib/HTML/Tidy.pm,v 1.19 2004/02/21 06:15:45 andy Exp $

SYNOPSIS

use HTML::Tidy;
blah blah blah

DESCRIPTION

EXPORTS

Severity codes TIDY_ERROR, TIDY_WARNING and TIDY_ERROR.

METHODS

new()

Create an HTML::Lint object.

my $tidy = HTML::Tidy->new();

messages()

Returns the messages accumulated.

clear_messages()

Clears the list of messages, in case you want to print and clear, print and clear.

ignore( type => [ TIDY_X, TIDY_Y ] )

Specify types of messages to ignore.

parse_file( $filename, $str [, $str...] )

Returns true if all went OK, or false if there was some problem calling tidy, or parsing tidy's output.

BUGS & FEEDBACK

I welcome your comments and suggestions. Please send them to <bug-html-tidy@rt.cpan.org> so that they can be tracked in the RT ticket tracking system.

AUTHOR

Andy Lester, <andy@petdance.com>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Andy Lester

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.