CPAN::...:Filter(3pm)
β¨ NAME β¨
okay bestie, this is the page for CPAN::Audit::Filter β manage the reports / CVEs to ignore. It lives in User Contributed Perl Documentation, and the manual name hovering near the top is CPAN::...:Filter(3pm). iykyk π
π¦ SYNOPSIS π¦
use CPAN::Audit::Filter;
my $filter = CPAN::Audit::Filter->new( exclude => $array_ref );
my $query = CPAN::Audit::Query->new(...);
my $advisories = $query->advisories_for( $distname, $version_range );
foreach my $advisory ( $advisories->@* ) {
next if $filter->excludes($advisory);
...
}
π DESCRIPTION π
πΈ Class methods πΈ
new( exclude => ARRAYREF )β not me making a whole filter object. The values in the array ref forexcludeare uppercased before they are stored. slay β¨
π Instance methods π
excludes( $advisory )β Returns true if this instance excludes either the ID or any of the CVEs for ADVISORY, a hash as returned byCPAN::Audit::Query. This hash has these keys:
id - a string, such as Some-Module-001
cves - an array reference of CVE strings, such as CVE-2022-001
The values extracted from the hash are uppercased before use. periodt π
ignored_countβ Return the count of the advisories that were ignored. Each ID or CVE value only counts once. no double-dipping, bestie π
π LICENSE π
Copyright (C) 2022 Graham TerMarsch
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
mwah π this was perl v5.40.1, dated 2026-07-05, and it's the CPAN::...:Filter(3pm) page. bye bestie π«Άβ¨
π¦ where this page comes from
- ubuntu stonking: libcpan-audit-perl 20260622.001-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms