Safely load untrusted YAML in Perl
Usually people deal with YAML files from trusted sources. But maybe you want to load input from a Website as YAML. This can lead to problems, and this article will talk about what you can do to make the loading safe.
The problems I'll talk about are loading objects, cyclic references and general parsing problems.
I will cover YAML.pm, YAML::Tiny, YAML::XS, YAML::Syck and YAML::PP.