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.
field
Additionally YAML::Perl::Base provides default new and init class methods for object construction.
new
init
Ingy döt Net <ingy@cpan.org>
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
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'döt'. Assuming UTF-8
To install YAML::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm YAML::Perl
CPAN shell
perl -MCPAN -e shell install YAML::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.