GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
YAML::PP::Constructor(3) User Contributed Perl Documentation YAML::PP::Constructor(3)

YAML::PP::Constructor - Constructing data structure from parsing events

new
The Constructor constructor

    my $constructor = YAML::PP::Constructor->new(
        schema => $schema,
        cyclic_refs => $cyclic_refs,
    );
    
init
Resets any data being used during construction.

    $constructor->init;
    
document_start_event, document_end_event, mapping_start_event, mapping_end_event, sequence_start_event, sequence_end_event, scalar_event, alias_event, stream_start_event, stream_end_event
These methods are called from YAML::PP::Parser:

    $constructor->document_start_event($event);
    
anchors, set_anchors
Helper for storing anchors during construction
docs, set_docs
Helper for storing resulting documents during construction
stack, set_stack
Helper for storing data during construction
cyclic_refs, set_cyclic_refs
Option for controlling the behaviour when finding circular references
schema, set_schema
Holds a YAML::PP::Schema object
stringify_complex
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.

2021-12-25 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.