1YAML::Dumper(3) User Contributed Perl Documentation YAML::Dumper(3)
2
3
4
6 YAML::Dumper - YAML class for dumping Perl objects to YAML
7
9 use YAML::Dumper;
10 my $dumper = YAML::Dumper->new;
11 $dumper->indent_width(4);
12 print $dumper->dump({foo => 'bar'});
13
15 YAML::Dumper is the module that YAML.pm used to serialize Perl objects
16 to YAML. It is fully object oriented and usable on its own.
17
19 Ingy döt Net <ingy@cpan.org>
20
22 Copyright 2001-2014. Ingy döt Net
23
24 This program is free software; you can redistribute it and/or modify it
25 under the same terms as Perl itself.
26
27 See <http://www.perl.com/perl/misc/Artistic.html>
28
29
30
31perl v5.32.0 2020-07-28 YAML::Dumper(3)