DOKK / manpages / debian 12 / libyaml-perl / YAML::Dumper.3pm.en
YAML::Dumper(3pm) User Contributed Perl Documentation YAML::Dumper(3pm)

YAML::Dumper - YAML class for dumping Perl objects to YAML

    use YAML::Dumper;
    my $dumper = YAML::Dumper->new;
    $dumper->indent_width(4);
    print $dumper->dump({foo => 'bar'});

YAML::Dumper is the module that YAML.pm used to serialize Perl objects to YAML. It is fully object oriented and usable on its own.

Ingy döt Net <ingy@cpan.org>

Copyright 2001-2014. Ingy döt Net

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>

2022-10-14 perl v5.34.0