"be consistent" | |
PerlMonks |
Re^3: Peculiar hash behaviorby ikegami (Patriarch) |
on Oct 04, 2021 at 19:30 UTC ( [id://11137215]=note: print w/replies, xml ) | Need Help?? |
is short for
That's it. As long as your keys don't contain the value in $; (which is a control character by default), you can emulate multi-level hashes. It presumably uses less memory, but it might be a bit slower from concatenating the keys??? Of course, you're relying on the value of $; being safe.
In Section
Seekers of Perl Wisdom
|
|