TAP::Pa...:Reader(3pm)

okay so bestie, welcome to the TAP::Pa...:Reader(3pm) page from the Perl Programmers Reference Guide. This one is short, iconic, and lowkey all about reading YAMLish data from an iterator. Let's get into it. πŸ’–βœ¨


🌸 NAME 🌸

TAP::Parser::YAMLish::Reader β€” read YAMLish data from iterator. That's the whole name-and-purpose situation, and it ate. πŸ’…

πŸŽ€ VERSION πŸŽ€

Version 3.50. periodt.

✨ SYNOPSIS ✨

The original page keeps this section empty β€” no synopsis lines, no code, just vibes and a smooth handoff to DESCRIPTION. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Quick note, bestie: parts of this code were derived from YAML::Tiny with the permission of Adam Kennedy. So yes, there's some YAML::Tiny DNA in here. πŸ’œ

🧚 METHODS 🧚

πŸ’… Class Methods πŸ’…

new

The constructor new creates and returns an empty TAP::Parser::YAMLish::Reader object. Fresh out the box, no data, just potential. ✨

my $reader = TAP::Parser::YAMLish::Reader->new;

🌈 Instance Methods 🌈

read

my $got = $reader->read($iterator);

Read YAMLish from a TAP::Parser::Iterator and return the data structure it represents. That's the move. 🫢

get_raw

my $source = $reader->get_source;

Return the raw YAMLish source from the most recent read. πŸŽ€

Heads up, bestie: the example line right above is exactly what the page shows β€” it uses get_source, even though this method is listed as get_raw. No cap, that's literally how it's printed. πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

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. Legend behavior. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

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.


okay bye bestie β€” signed off by perl v5.42.3 on 2026-11-03. πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from