Switched to iTools::YAML::Lite for YAML parser
Implemented Perl 5.10+ version of switch