Scroll to navigation

YAML::PP::Common(3pm) User Contributed Perl Documentation YAML::PP::Common(3pm)

NAME

YAML::PP::Common - Constants and common functions

SYNOPSIS

    use YAML::PP::Common qw/
        YAML_ANY_SCALAR_STYLE YAML_PLAIN_SCALAR_STYLE
        YAML_SINGLE_QUOTED_SCALAR_STYLE YAML_DOUBLE_QUOTED_SCALAR_STYLE
        YAML_LITERAL_SCALAR_STYLE YAML_FOLDED_SCALAR_STYLE
    /;

DESCRIPTION

FUNCTONS

    my $string = YAML::PP::Common::event_to_test_suite($event_prom_parser);
    

For examples of the returned format look into this distributions's directory "yaml-test-suite" which is a copy of <https://github.com/yaml/yaml-test-suite>.

    my $event = YAML::PP::Common::test_suite_to_event($str);
    

Turns an event string in test suite format into an event hashref. Not complete yet.

2020-09-11 perl v5.30.3