Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Hash/Array slice : how to exclude items? -- tie hash to mask values

by bliako (Monsignor)
on Jan 26, 2023 at 15:06 UTC ( [id://11149900]=note: print w/replies, xml ) Need Help??


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

  • Comment on Re^2: Hash/Array slice : how to exclude items? -- tie hash to mask values

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-24 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found