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

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

```
    use YAML::PP::Perl;
    my @docs = YAML::PP::Perl->new->load_string($yaml);
    my @docs = YAML::PP::Perl::Load($yaml);
    # same as
    use YAML::PP;
    my $yp = YAML::PP->new( schema => [qw/ Core Perl /] );
    my @docs = $yp->load_string($yaml);
```

# [DESCRIPTION](#DESCRIPTION)

This is just for convenience. It will create a YAML::PP object using the default schema ("Core") and the YAML::PP::Schema::Perl schema.

See YAML::PP::Schema::Perl for documentation.

# [METHODS](#METHODS)

[Load, Dump, LoadFile, DumpFile](#Load,)

These work like the functions in YAML::PP, just adding the "Perl" schema.

[new](#new)

Constructor, works like in YAML::PP, just adds the "Perl" schema to the list of arguments.

2026-10-13 perl v5.44.0

---

Document: YAML::PP::Perl(3pm) from perl-yaml-pp 0.43.0-r0 (Chainguard OS)
Source: https://github.com/perlpunk/YAML-PP-p5.git
