- COPYRIGHT & LICENSE
HTML::Tidy5::Message - Message object for the Tidy functionality
None. It's all object-based.
Almost everything is an accessor.
Create an object. It's not very exciting.
Returns a formatted string that describes where in the file the error has occurred.
for line 14, column 23.
The terrible thing about this function is that it's both a plain ol' formatting function as in
my $str = where( 14, 23 );
AND it's an object method, as in:
my $str = $error->where();
I don't know what I was thinking when I set it up this way, but it's bad practice.
Returns a nicely-formatted string for printing out to stdout or some similar user thing.
Returns the filename of the error, as set by the caller.
Returns the type of the error. This will either be
Returns the line number of the error, or 0 if there isn't an applicable line number.
Returns the column number, or 0 if there isn't an applicable column number.
Returns the text of the message. This does not include a type string, like "Info: ".
Copyright 2005-2017 Andy Lester.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License v2.0.