CPAN::Audit::FreshnessCheck(3pm)

NAME
CPAN::Audit::Freshness - check freshness of CPAN::Audit::DB

SYNOPSIS
    use CPAN::Audit::Freshness;

    # from the command-line, with default threshold
    % perl -MCPAN::Audit::Freshness cpan-audit

    # from the command-line, with specified threshold of 5 days
    % perl -MCPAN::Audit::Freshness=5 cpan-audit
    % env CPAN_AUDIT_FRESH_DAYS=30 perl -MCPAN::Audit::Freshness cpan-audit

DESCRIPTION
When loaded, this module outputs a warning if it thinks the version of CPANSA::DB is too old. It does this by comparing the version of that module, which is date-based, with the current time. The default threshold is 30 days, although you can set the value of "CPAN_AUDIT_FRESH_DAYS".

This previously checked the deprecated CPAN::Audit::DB module, but there is no version of that module that is fresh where CPANSA::DB isn't present.

There is no other functionality for this module.

LICENSE
This library is under the Artistic License 2.0.

AUTHOR
Copyright © 2022-2026, brian d foy, <briandfoy@pobox.com>

POD ERRORS
Hey! The above document had some coding errors, which are explained below:

Around line 41:
    Non-ASCII character seen before =encoding in '©'. Assuming UTF-8