---
name: "Catmandu::Fix::stat_mode"
section: "3pm"
platform: "linux"
package: "libcatmandu-stat-perl"
version: "0.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::stat_mode"
---

# Catmandu::Fix::stat\_mode(3pm)

calculate the mode of an array

## NAME

Catmandu::Fix::stat\_mode - calculate the mode of an array

## SYNOPSIS

```
   # Calculate the mode of foo. E.g. foo => [1,2,3,3,3,4]
   stat_mode(foo)  # foo => '3'
```

## SEE ALSO

Catmandu::Fix
