http://qs1969.pair.com?node_id=424307


in reply to Bringing Logic Programming to Perl

What I would love to see is a like_deeply function in Test::More that would allow us to describe the form of a complex data structure without an exact match (and pull out bits that we're interested in).

I believe that's what Fergal Daly's Test::Deep does.

Replies are listed 'Best First'.
Re^2: Bringing Logic Programming to Perl
by Ovid (Cardinal) on Jan 23, 2005 at 02:52 UTC
      The only thing is that capturing data from deep inside the structure does not happen. It's been the todo list since the beginning but I've never really needed it.

      If you fancy adding it, it would be fairly simple. I'll have a look tonight.