---
name: "Catmandu::Exporter::Multi"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Exporter::Multi"
---

# Catmandu::Exporter::Multi(3pm)

export you data to multiple exporters

## NAME

Catmandu::Exporter::Multi - export you data to multiple exporters

## SYNOPSIS

```
    # this will write both a CSV and an XLS file
    my $exporter = Catmandu::Exporter::Multi->new(exporters => [
        Catmandu::Exporter::CSV->new(file => 'mydata.csv'),
        Catmandu::Exporter::XLS->new(file => 'mydata.xls'),
    ]);
    $exporter->add({col1 => 'val1', col2 => 'val2'});
    $exporter->commit;
```

## SEE ALSO

Catmandu::Exporter
