Subject: | YAML::Tiny fails if no sufficient Scalar::Util available (trivial bugfix) |
YAML/Tiny.pm contains the following code:
BEGIN {
local $@;
eval {
require Scalar::Util;
};
if ( $@ or $Scalar::Util::VERSION < 1.18 ) {
eval <<'END_PERL' if $@;
sub refaddr {
...
The string-eval therefore is never fired IFF S::U is older than 1.18 but
present (the if $@ after the eval << must go).