---
name: "Metrics::Any::Adapter::Null"
section: "3pm"
platform: "linux"
package: "libmetrics-any-perl"
version: "0.10-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Metrics::Any::Adapter::Null"
---

# Metrics::Any::Adapter::Null(3pm)

a metrics reporting adapter which does nothing

## NAME

"Metrics::Any::Adapter::Null" - a metrics reporting adapter which does nothing

## DESCRIPTION

This Metrics::Any adapter type contains an empty stub implementation of the adapter API, allowing a module to invoke methods on its metrics collector that do not do anything.

A program would run with this adapter by default unless it has requested a different one, via the `"use Metrics::Any::Adapter"` statement.

This adapter type claims to support batch mode, though the reporting callback will never be invoked.

## AUTHOR

Paul Evans \<leonerd@leonerd.org.uk\>
