Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Hash/Array slice : how to exclude items? -- tie hash to mask valuesby Discipulus (Canon) |
on Jan 26, 2023 at 09:17 UTC ( [id://11149887]=note: print w/replies, xml ) | Need Help?? |
Hello bliako, very interesting question and discussion. I am not able to offer a solution but this lead to me to something different: temporary hide or mask the value of some key of a tied hash. Mostly copying ikegami's SO answer I got something working. I'm sure some monk can play also with FIRTSKEY and NEXTKEY vodoo to make some key temporary invisible (see the comment line in fetch..), not me :)
L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|