|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re: Hash/Array slice : how to exclude items?by johngg (Canon) |
| on Jan 24, 2023 at 13:58 UTC ( [id://11149819]=note: print w/replies, xml ) | Need Help?? |
|
Somewhat messy but you could grep a negated regex in a hash slice.
I hope this is of interest. Update: I renamed the second Data::Dumper->Dumpxs() output from @hash to @slice to better reflect what was going on. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||