I cringe at "local ... if ...;". It looks too much like illegal "my ... if ...;" for my taste. Alternative:
$YAML::UseCode if 0; # Silence spurious warning. local $YAML::UseCode = 1;
I filed a bug report.
In reply to Re^4: code reference in YAML
by ikegami
in thread code reference in YAML
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |