YAML::Perl::Base - Base Class of all YAML Components
package YAML::Foo; use strict; use warnings; use YAML::Perl::Base -base; field 'foo'; field 'bar' => 'blah';
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
init class methods for object construction.
Ingy dÃ¶t Net <email@example.com>
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.