YAML::PP::Writer(3) | User Contributed Perl Documentation | YAML::PP::Writer(3) |
YAML::PP::Writer - Write YAML output
my $writer = YAML::PP::Writer->new;
The YAML::PP::Emitter sends its output to the writer.
You can use your own writer. if you want to send the YAML output to somewhere else. See t/44.writer.t for an example.
my $writer = YAML::PP::Writer->new;
Constructor.
$writer->write('- ');
$writer->init;
Initialize
$writer->finish;
Gets called when the output ends.
2020-09-10 | perl v5.34.0 |