---
name: "CPAN::Audit::FreshnessCheck"
section: "3pm"
platform: "linux"
package: "libcpan-audit-perl"
version: "20250115.001-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/CPAN::Audit::FreshnessCheck"
---

# CPAN::Audit::FreshnessCheck(3pm)

check freshness of CPAN::Audit::DB

## 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 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.

## AUTHOR

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