# phpman > perldoc > YAML::Loader

## NAME
    [YAML::Loader](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ALoader/markdown) - YAML class for loading Perl objects to YAML

## SYNOPSIS
        use [YAML::Loader](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ALoader/markdown);
        my $loader = [YAML::Loader](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ALoader/markdown)->new;
        my $hash = $loader->load(<<'...');
        foo: bar
        ...

## DESCRIPTION
    [YAML::Loader](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ALoader/markdown) 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@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>>

