TAP::Parser::YAMLish::Reader(3p) Perl Programmers Reference Guide #
TAP::Parser::YAMLish::Reader(3p) Perl Programmers Reference Guide
NNAAMMEE #
TAP::Parser::YAMLish::Reader - Read YAMLish data from iterator
VVEERRSSIIOONN #
Version 3.44
SSYYNNOOPPSSIISS #
DDEESSCCRRIIPPTTIIOONN #
Note that parts of this code were derived from YAML::Tiny with the
permission of Adam Kennedy.
MMEETTHHOODDSS #
CCllaassss MMeetthhooddss _"_n_e_w_"
The constructor "new" creates and returns an empty
"TAP::Parser::YAMLish::Reader" object.
my $reader = TAP::Parser::YAMLish::Reader->new;
IInnssttaannccee MMeetthhooddss _"_r_e_a_d_"
my $got = $reader->read($iterator);
Read YAMLish from a TAP::Parser::Iterator and return the data structure
it represents.
_"_g_e_t___r_a_w_"
my $source = $reader->get_source;
Return the raw YAMLish source from the most recent "read".
AAUUTTHHOORR #
Andy Armstrong, <andy@hexten.net>
Adam Kennedy wrote YAML::Tiny which provided the template and many of the
YAML matching regular expressions for this module.
SSEEEE AALLSSOO #
YAML::Tiny, YAML, YAML::Syck, Config::Tiny, CSS::Tiny,
<http://use.perl.org/~Alias/journal/29427>
CCOOPPYYRRIIGGHHTT #
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.
perl v5.36.3 2023-02-15 TAP::Parser::YAMLish::Reader(3p)