logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

YAML::PP::Writer - Write YAML output

Description

       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.

Methods

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

           Constructor.

       write
               $writer->write('- ');

       init
               $writer->init;

           Initialize

       finish
               $writer->finish;

           Gets called when the output ends.

       output, set_output
           Getter/setter for the YAML output

perl v5.40.0                                       2025-02-15                              YAML::PP::Writer(3pm)

Name

       YAML::PP::Writer - Write YAML output

Synopsis

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

See Also