++ed by:
JONASS VOJ

2 PAUSE users
4 non-PAUSE users.

Nicolas Steenlant
and 13 contributors

NAME

Catmandu::Exporter::YAML - a YAML exporter

SYNOPSIS

    use Catmandu::Exporter::YAML;

    # Print to STDOUT
    my $exporter = Catmandu::Exporter::YAML->new(fix => 'myfix.txt');

    # Print to file or IO::Handle
    my $exporter = Catmandu::Exporter::YAML->new(file => '/tmp/out.yml');
    my $exporter = Catmandu::Exporter::YAML->new(file => $fh);

    $exporter->add_many($arrayref);
    $exporter->add_many($iterator);
    $exporter->add_many(sub { });

    $exporter->add($hashref);

    printf "exported %d objects\n" , $exporter->count;

SEE ALSO

Catmandu::Exporter