perldoc > YAML::Loader

🏷️ NAME

YAML::Loader - YAML class for loading Perl objects to YAML

πŸš€ Quick Reference

Use Case Command Description
πŸš€ Deserialize YAML to Perl use YAML::Loader; my $loader = YAML::Loader->new; my $hash = $loader->load($yaml_string); Load a YAML string into a Perl hashref using the object-oriented interface.
πŸ“‚ Load from a file handle my $loader = YAML::Loader->new; my $hash = $loader->load($fh); Pass a filehandle to the load method to read YAML directly from a file.

πŸ“– SYNOPSIS

use YAML::Loader;
my $loader = YAML::Loader->new;
my $hash = $loader->load(<<'...');
foo: bar
...

πŸ“ DESCRIPTION

YAML::Loader is the module that YAML.pm used to deserialize YAML to Perl objects. It is fully object oriented and usable on its own.

✍️ AUTHOR

Ingy dΓΆt Net <ingy AT cpan.org>

©️ 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>

YAML::Loader
🏷️ NAME πŸš€ Quick Reference πŸ“– SYNOPSIS πŸ“ DESCRIPTION ✍️ AUTHOR ©️ COPYRIGHT

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-21 19:25 @216.73.217.134
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!