P is for Practical | |
PerlMonks |
Re^2: Test scalar refs (not values) in deeply nested structureby perlfan (Vicar) |
on Jul 24, 2020 at 04:46 UTC ( [id://11119733]=note: print w/replies, xml ) | Need Help?? |
>The bit I haven't quite grasped is the circumstances under which \$pos1 and \$pos2 should be considered the same.
I am also confused since your example is not nested at all, i.e., I don't think the scalar reference itself is considered nested since you're pointing to two different memory structures (addresses). Do you have an actual nested data structure, LanX?
In Section
Seekers of Perl Wisdom
|
|