
In the spirit of yaml::tiny, data::yaml::reader and data::yaml::writer provide lightweight, dependency-free yaml handling. while yaml::tiny is designed principally for working with configuration files data::yaml concentrates on the transparent round-tripping of yaml serialized perl data structures.
as an example of why this distinction matters consider that yaml::tiny doesn't handle hashes with keys containing non-printable characters. this is fine for configuration files but likely to cause problems when handling arbitrary perl data structures. data::yaml handles exotic hash keys correctly.
the syntax accepted by data::yaml is a subset of yaml. specifically it is the same subset of yaml that data::yaml::writer produces. see data::yaml for more information.