in reply to Re: Bug in YAML::Any - What to do?
in thread Bug in YAML::Any - What to do?

That attempts to localise @opts, not the scalars referenced by the elements of @opts.