logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Copyright (C) 2022-2024 brian d foy, <briandfoy@pobox.com>

perl v5.40.0                                       2025-01-31                   CPAN::Audit::FreshnessCheck(3pm)

Description

       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.

License

       This library is under the Artistic License 2.0.

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

See Also