YAML::Types(3)
π YAML::Types β bestie edition π
okay so real talk, this is YAML::Types from the Perl world, and its whole job is marshalling Perl internal data types to and from YAML. like, taking your weird little Perl objects and turning them into YAML and back again. it's giving translator energy fr fr π¦
it lives in the User Contributed Perl Documentation section of the manual, so you already know it's the people's fave π
β¨ SYNOPSIS β¨
bestie here's the vibe, look at this:
$::foo = 42;
print YAML::Dump(*::foo);
print YAML::Dump(qr{match me});
so you've got a package variable $::foo set to 42, then you dump the glob *::foo through YAML::Dump, and then you dump a regex qr{match me} too. iconic. it just works ππΈ
πΈ DESCRIPTION πΈ
okay so this module is the one holding the helper classes, and those helpers are the ones doing the actual heavy lifting of transferring all these things to and from YAML:
- objects
- subroutines
- references
- globs
- regexps
- file handles
so basically every chaotic Perl thing you could think of? yeah, this module's got a class for it. obsessed π«Άβ¨
π AUTHOR π
ingy dΓΆt Net <ingy@cpan.org> β the icon, the legend, the main character who wrote this π
π COPYRIGHT π
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>
so like, yes, it's free software, go forth and redistribute it and/or modify it, same terms as Perl itself, no cap. check that Artistic link for the full legal tea π₯
and that's the whole page bestie!! this was perl v5.42.2, dated 2026-07-27, and it's YAML::Types(3) if you ever need to find it again. mwah, go slay some YAML π
πβ¨
π¦ where this page comes from
- fedora 43: perl-YAML 1.32.1-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-YAML 1.32.1-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms