% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
Lintian::Tag::Override -- Representation of a Lintian Override
use Lintian::Tag::Override;
my $data = {
'comments' => ['some', 'multi-line', 'comments']
};
my $override = Lintian::Tag::Override->new('unused-override', $data);
my $comments = $override->comments;
if ($override->overrides("some extra") ) {
# do something
}
Represents a Lintian Override.
Creates a new override for $tag. $data should be a hashref with the following fields.
Returns the name of the tag.
Returns the architecture this tag applies to.
Returns a list of lines that makes up the comments for this override.
Do not modify the contents of this list.
Returns the extra of this tag (or the empty string, if there is no extra).
Returns a truth value if the extra is a pattern.
Returns a truth value if this override applies to this extra.
Originally written by Niels Thykier <niels@thykier.net> for Lintian.
lintian(1)