http://www.perlmonks.org?node_id=459658


in reply to Re: Recursively traverse two data structures and test for match
in thread Recursively traverse two data structures and test for match

I didn't see you testing for cycles. Any self referential structure is going to cause your code to stop in an infinite loop.
  • Comment on Re^2: Recursively traverse two data structures and test for match