YAML::PP::Common - Constants and common functions
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 YAML_QUOTED_SCALAR_STYLE /;
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.
yaml-test-suite
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.