in reply to compare two reference in perlway
At first I thought about Test::More's is_deeply, which compares two nested data structures for testing purposes. But it seems like Data::Compare does the same job pretty well for common programs. You can either use one of the two, or look at the source code to understand how they work.
|
|---|