http://qs321.pair.com?node_id=747221


in reply to Re^3: Building an arbitrary-depth, multi-level hash
in thread Building an arbitrary-depth, multi-level hash

Basic?

It's a FAQ.
People continually get it wrong.
People have no idea how it works when given that solution.
It's missing half the code.
It's 6 lines instead of one. (7 for the fetcher if you don't validate.)

I have no problem writing such code, but I'm not most people. Put it into an appropriately named function and I'll be able to read it too. Or you know, use the function that's already written.