You could use delete to remove the key/value pairs from your first hash if no match is found in your second file.
There are probably more idiomatic was of doing so, but you've got to walk before you can run. ;)
In reply to Re: null output on hashes
by Art_XIV
in thread null output on hashes
by tux242
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |