CPAN::Audit::FreshnessCheck(3pm)

CPAN::Audit::FreshnessCheck3pm

Check freshness of cpan::audit::db

Usage

    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

Overview

When loaded, this module outputs a warning if it thinks the version of CPAN::Audit::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".

There is no other functionality for this module.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

License

This library is under the Artistic License 2.0.

Author

Copyright (C) 2022-2024 brian d foy, <[email protected]>

From libcpan-audit-perl 20250115.001-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.