1YAML::PP::Writer(3)   User Contributed Perl Documentation  YAML::PP::Writer(3)
2
3
4

NAME

6       YAML::PP::Writer - Write YAML output
7

SYNOPSIS

9           my $writer = YAML::PP::Writer->new;
10

DESCRIPTION

12       The YAML::PP::Emitter sends its output to the writer.
13
14       You can use your own writer. if you want to send the YAML output to
15       somewhere else. See t/44.writer.t for an example.
16

METHODS

18       new
19               my $writer = YAML::PP::Writer->new;
20
21           Constructor.
22
23       write
24               $writer->write('- ');
25
26       init
27               $writer->init;
28
29           Initialize
30
31       finish
32               $writer->finish;
33
34           Gets called when the output ends.
35
36       output, set_output
37           Getter/setter for the YAML output
38
39
40
41perl v5.34.0                      2021-10-25               YAML::PP::Writer(3)
Impressum