YAML::Dumper(3) User Contributed Perl Documentation YAML::Dumper(3)

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>

2020-01-27 perl v5.34.0