in reply to Re: Test scalar refs (not values) in deeply nested structure
in thread Test scalar refs (not values) in deeply nested structure
My pragmatic approach is to write a recursive diver which will replace the scalar values with the stringification of their refs.
$$ref = "$ref"
I'll feed this to is_deeply() then, seems to work so far.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Test scalar refs (not values) in deeply nested structure
by Corion (Patriarch) on Jul 23, 2020 at 20:21 UTC | |
by LanX (Saint) on Jul 23, 2020 at 20:31 UTC |