1YAML::PP::Common(3) User Contributed Perl Documentation YAML::PP::Common(3)
2
3
4
6 YAML::PP::Common - Constants and common functions
7
9 use YAML::PP::Common qw/
10 YAML_ANY_SCALAR_STYLE YAML_PLAIN_SCALAR_STYLE
11 YAML_SINGLE_QUOTED_SCALAR_STYLE YAML_DOUBLE_QUOTED_SCALAR_STYLE
12 YAML_LITERAL_SCALAR_STYLE YAML_FOLDED_SCALAR_STYLE
13 /;
14
17 event_to_test_suite
18 my $string = YAML::PP::Common::event_to_test_suite($event_prom_parser);
19
20 For examples of the returned format look into this distributions's
21 directory "yaml-test-suite" which is a copy of
22 <https://github.com/yaml/yaml-test-suite>.
23
24 test_suite_to_event
25 my $event = YAML::PP::Common::test_suite_to_event($str);
26
27 Turns an event string in test suite format into an event hashref.
28 Not complete yet.
29
30
31
32perl v5.34.0 2021-10-25 YAML::PP::Common(3)