Yup, excellent!
Two little additions:
|| 1 assures a true value when %$ref is an empty hash.
|| 1 avoids the "void context" warning ; 1 would issue.
One little correction:
On error, eval returns false (dualvar 0, ""), not undef.
In reply to Re^3: Blessing interior hashes
by ikegami
in thread Blessing interior hashes
by throop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |