# TAP::Parser::YAMLish::Reader - man - phpman

## NAME
    [TAP::Parser::YAMLish::Reader](https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AParser%3A%3AYAMLish%3A%3AReader/markdown) - Read YAMLish data from iterator

## VERSION
    Version 3.43

## SYNOPSIS
## DESCRIPTION
    Note that parts of this code were derived from [YAML::Tiny](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ATiny/markdown) with the permission of Adam Kennedy.

## METHODS
### Class Methods
   "new"
    The constructor "new" creates and returns an empty "[TAP::Parser::YAMLish::Reader](https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AParser%3A%3AYAMLish%3A%3AReader/markdown)" object.

     my $reader = [TAP::Parser::YAMLish::Reader](https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AParser%3A%3AYAMLish%3A%3AReader/markdown)->new;

### Instance Methods
   "read"
     my $got = $reader->read($iterator);

    Read YAMLish from a [TAP::Parser::Iterator](https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AParser%3A%3AIterator/markdown) and return the data structure it represents.

   "get_raw"
     my $source = $reader->get_source;

    Return the raw YAMLish source from the most recent "read".

## AUTHOR
    Andy Armstrong, <<andy@hexten.net>>

    Adam Kennedy wrote [YAML::Tiny](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ATiny/markdown) which provided the template and many of the YAML matching regular
    expressions for this module.

## SEE ALSO
    [YAML::Tiny](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ATiny/markdown), YAML, [YAML::Syck](https://www.chedong.com/phpMan.php/perldoc/YAML%3A%3ASyck/markdown), [Config::Tiny](https://www.chedong.com/phpMan.php/perldoc/Config%3A%3ATiny/markdown), [CSS::Tiny](https://www.chedong.com/phpMan.php/perldoc/CSS%3A%3ATiny/markdown),
    <<http://use.perl.org/~Alias/journal/29427>>

## COPYRIGHT
    Copyright 2007-2011 Andy Armstrong.

    Portions copyright 2006-2008 Adam Kennedy.

    This program is free software; you can redistribute it and/or modify it under the same terms as
    Perl itself.

    The full text of the license can be found in the LICENSE file included with this module.

