This module lets you easily test the validity of YAML. WWW: https://metacpan.org/release/Test-YAML-Valid