YAML::PP::Constructor - Constructing data structure from parsing events
The Constructor constructor
my $constructor = YAML::PP::Constructor->new( schema => $schema, cyclic_refs => $cyclic_refs, );
Resets any data being used during construction.
$constructor->init;
These methods are called from YAML::PP::Parser:
$constructor->document_start_event($event);
Helper for storing anchors during construction
Helper for storing resulting documents during construction
Helper for storing data during construction
Option for controlling the behaviour when finding circular references
Holds a YAML::PP::Schema object
When constructing a hash and getting a non-scalar key, this method is used to stringify the key.
It uses a terse Data::Dumper output. Other modules, like YAML::XS, use the default stringification, ARRAY(0x55617c0c7398) for example.
ARRAY(0x55617c0c7398)
To install YAML::PP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm YAML::PP
CPAN shell
perl -MCPAN -e shell install YAML::PP
For more information on module installation, please visit the detailed CPAN module installation guide.