in reply to Re^2: Blessing interior hashes
in thread Blessing interior hashes
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Blessing interior hashes
by lodin (Hermit) on Oct 03, 2007 at 19:07 UTC | |
by ikegami (Patriarch) on Oct 03, 2007 at 19:51 UTC | |
by lodin (Hermit) on Oct 03, 2007 at 20:24 UTC | |
by ikegami (Patriarch) on Oct 03, 2007 at 20:37 UTC |