in reply to Re: Hash/Array slice : how to exclude items? -- tie hash to mask values
in thread Hash/Array slice : how to exclude items?
That's a good solution Discipulus.
The mask/unmask (re: see also rsFalse's Re: Hash/Array slice : how to exclude items?) can be achieved via magic/dualavar. I cite here all contributions to Schizophrenic var. Question is where should the hidden attribute go: key, values and/or hash.
Another thing that comes to mind is that may lead to something quite bigger borrowing from the framework of Model-View-Controller: you have the data in the hash and you get different views from it: hidden/colors (rsFalse)/etc.
bw, bliako
|
|---|