YAML::PP::Perl(3)

πŸ’… YAML::PP::Perl β€” the manual page, but make it cute

okay so this is YAML::PP::Perl(3), a Perl module, and honestly? it's a vibe. it's the convenience module for loading and dumping Perl objects, and it's about to make your whole YAML situation so much easier 🫢


✨ NAME ✨

YAML::PP::Perl β€” convenience module for loading and dumping Perl objects πŸŽ€

like, that's literally it. it's the shortcut. the little bestie that does the setup for you.


🌸 SYNOPSIS 🌸

okay bestie, here's the whole thing, no cap:

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);

see that # same as bit? that's the whole point πŸ’– the first two lines are doing exactly what the last three lines do β€” they're just doing it without you having to write all that schema stuff yourself. icon behavior, honestly.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this is just for convenience. like, that's the entire job description. it will create a YAML::PP object using the default schema (Core) and the YAML::PP::Schema::Perl schema. ✨

and if you want the actual details on what that Perl schema gets up to? go read YAML::PP::Schema::Perl, that's where all the documentation lives. this page is just the friendly front door πŸšͺπŸ’…


πŸ‘‘ METHODS πŸ‘‘

πŸ’œ Load, Dump, LoadFile, DumpFile

these work like the functions in YAML::PP, just adding the Perl schema. that's the only difference. same energy, extra schema. slay.

πŸ’œ new

the Constructor πŸ’– works like in YAML::PP, just adds the Perl schema to the list of arguments. so you get all the usual new behavior, but with the Perl schema already queued up for you. no extra work, no stress, no notes πŸŽ€


bestie reminder: this module does not invent new behavior. everything here is YAML::PP plus the Perl schema. that's the whole tea β˜• and it ate.

and that's the page!! written by the Perl documentation girlies, perl v5.42.0, dated 2026-04-24 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from