# phpman > perldoc > YAML::Types

## NAME
    [YAML::Types](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ATypes/markdown) - Marshall Perl internal data types to/from YAML

## SYNOPSIS
        $::foo = 42;
        print [YAML::Dump](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ADump/markdown)(*::foo);

        print [YAML::Dump](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ADump/markdown)(qr{match me});

## DESCRIPTION
    This module has the helper classes for transferring objects, subroutines, references, globs,
    regexps and file handles to and from YAML.

## 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>>

