Ingy döt Net > YAML-Perl-0.02 > YAML::Perl::Base

Download:
YAML-Perl-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

YAML::Perl::Base - Base Class of all YAML Components

SYNOPSIS ^

    package YAML::Foo;
    use strict;
    use warnings;
    use YAML::Perl::Base -base;

    field 'foo';
    field 'bar' => 'blah';

DESCRIPTION ^

The YAML toolset is made up of a bunch of modules that are object oriented. All these modules inherit from YAML::Perl::Base, directly or eventually.

YAML::Perl::Base provides the field accessor generator to all its subclasses. It also provides XXX for debugging with YAML::XS.

Additionally YAML::Perl::Base provides default new and init class methods for object construction.

AUTHOR ^

Ingy döt Net <ingy@cpan.org>

COPYRIGHT ^

Copyright (c) 2008, 2009. Ingy döt Net. All rights reserved.

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

See http://www.perl.com/perl/misc/Artistic.html

syntax highlighting: