The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.018_001 - 2020-02-13

  • Important (and possibly breaking) changes:
    • Change default schema from JSON to Core. Reason: This is the recommended Schema for YAML 1.2, and what people would expect to be the default.
    • load* in scalar context returns first document. Reason: I think this is the most reasonable behaviour, and it will continue to work the same if you later add documents to a file.
    • Empty nodes in YAML 1.2 JSON Schema resolve to '' by default like before, but now it can be configured
    • Fix some control character escaping and encoding issues (issue#16) YAML::PP will now just assume all input data are unicode characters and won't do an explicit utf8::upgrade
    • Fix Core schema resolver for inf: add +.inf, +.Inf, +.INF
  • Improve emitter regarding empty lists/hashes (no newline before []/{})
  • Spelling and grammar fixes (PR#23 @gregoa)
  • Fix YAML::PP::Grammar pod (PR#22 @gregoa)
  • Fix yamlpp5-load-dump
  • Fix error tokens output
  • Update yaml-test-suite to data-2020-02-11

Modules

YAML 1.2 processor
Constants and common functions
Constructing data structure from parsing events
Emitting events
YAML grammar
Syntax highlighting utilities
Convenience module for loading and dumping Perl objects
Schema for YAML::PP
Schema for loading and binary data
YAML 1.2 Core Schema
YAML 1.2 Failsafe Schema
Include YAML files
YAML 1.2 JSON Schema
Enabling YAML merge keys for mappings
Schema for serializing perl objects and special types
Schema for serializing ordered hashes
YAML 1.1 Schema for YAML::PP
A special node type for merge keys
Write YAML output
Write YAML output to file or file handle

Provides

in lib/YAML/PP/Dumper.pm
in lib/YAML/PP/Exception.pm
in lib/YAML/PP/Lexer.pm
in lib/YAML/PP/Loader.pm
in lib/YAML/PP/Parser.pm
in lib/YAML/PP/Reader.pm
in lib/YAML/PP/Reader.pm
in lib/YAML/PP/Render.pm
in lib/YAML/PP/Representer.pm