So you have a nested data structure, but you want only scalar refs to be compared for identity, while you want to compare everything else structurally?
If that's not it, maybe show examples and counterexamples of what you want your comparison routine to do.
In reply to Re^3: Test scalar refs (not values) in deeply nested structure
by Corion
in thread Test scalar refs (not values) in deeply nested structure
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |