TAP::Parser::YAMLish::Reader - perldoc.perl.org

Perl Programming Documentation
Download Perl
Explore

Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

Tools

- Preferences

# TAP::Parser::YAMLish::Reader

Perl 5 version 12.2 documentation
Go to top
Show page index • Show recent pages
Recently read

# TAP::Parser::YAMLish::Reader

- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- METHODS
  - Class Methods
  - Instance Methods
- AUTHOR
- SEE ALSO
- COPYRIGHT

# NAME

TAP::Parser::YAMLish::Reader - Read YAMLish data from iterator

# VERSION

Version 3.17

# SYNOPSIS

# DESCRIPTION

Note that parts of this code were derived from 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.

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

## Instance Methods

### `read`

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

Read YAMLish from a TAP::Parser::Iterator 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 which provided the template and many of the YAML matching regular expressions for this module.

# SEE ALSO

YAML::Tiny, YAML, YAML::Syck, Config::Tiny, CSS::Tiny, http://use.perl.org/~Alias/journal/29427

# COPYRIGHT

Copyright 2007-2008 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.

Page index

- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- METHODS
  - Class Methods
  - Instance Methods
- AUTHOR
- SEE ALSO
- COPYRIGHT