|Keep It Simple, Stupid|
What's the best way to use Any YAML (not YAML::Any)by djerius (Beadle)
|on Mar 14, 2014 at 21:30 UTC||Need Help??|
djerius has asked for the wisdom of the Perl Monks concerning the following question:
My module doesn't care which YAML is around, just that it can Dump and Load.
I'd like to make it YAML module agnostic, as there are several out there.
Is there a more refined approach?
Update 1: fixed code to stop after the first successful load.
Update 3: The code should be polite and use an already loaded module, if possible.