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

NAME

6       YAML::PP::Perl - Convenience module for loading and dumping Perl
7       objects
8

SYNOPSIS

10           use YAML::PP::Perl;
11           my @docs = YAML::PP::Perl->new->load_string($yaml);
12           my @docs = YAML::PP::Perl::Load($yaml);
13
14           # same as
15           use YAML::PP;
16           my $yp = YAML::PP->new( schema => [qw/ Core Perl /] );
17           my @docs = $yp->load_string($yaml);
18

DESCRIPTION

20       This is just for convenience. It will create a YAML::PP object using
21       the default schema ("Core") and the YAML::PP::Schema::Perl schema.
22
23       See YAML::PP::Schema::Perl for documentation.
24

METHODS

26       Load, Dump, LoadFile, DumpFile
27           These work like the functions in YAML::PP, just adding the "Perl"
28           schema.
29
30       new Constructor, works like in YAML::PP, just adds the "Perl" schema to
31           the list of arguments.
32
33
34
35perl v5.38.0                      2023-07-21                 YAML::PP::Perl(3)
Impressum