++ed by:
VOJ

1 PAUSE user(s)
3 non-PAUSE user(s).

Nicolas Steenlant

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




Hosting generously
sponsored by Bytemark