This module lets you easily test the validity of YAML. WWW: http://search.cpan.org/dist/Test-YAML-Valid/