```{index} single: TAP::Parser::YAMLish::Reader ``` # TAP::Parser::YAMLish::Reader Read YAMLish data from iterator ## VERSION Version 3.52 ## SYNOPSIS ## DESCRIPTION Note that parts of this code were derived from [YAML::Tiny](https://metacpan.org/pod/YAML::Tiny) with the permission of Adam Kennedy. ## METHODS ### Class Methods #### `new` The constructor `new` creates and returns an empty `TAP::Parser::YAMLish::Reader` object. ```perl my $reader = TAP::Parser::YAMLish::Reader->new; ``` ### Instance Methods #### `read` ```perl my $got = $reader->read($iterator); ``` Read YAMLish from a [TAP::Parser::Iterator](../Iterator.md) and return the data structure it represents. #### `get_raw` ```perl my $source = $reader->get_source; ``` Return the raw YAMLish source from the most recent `read`. ## AUTHOR Andy Armstrong, Adam Kennedy wrote [YAML::Tiny](https://metacpan.org/pod/YAML::Tiny) which provided the template and many of the YAML matching regular expressions for this module. ## SEE ALSO [YAML::Tiny](https://metacpan.org/pod/YAML::Tiny), [YAML](https://metacpan.org/pod/YAML), [YAML::Syck](https://metacpan.org/pod/YAML::Syck), [Config::Tiny](https://metacpan.org/pod/Config::Tiny), [CSS::Tiny](https://metacpan.org/pod/CSS::Tiny), [http://use.perl.org/~Alias/journal/29427](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.