princepawn has asked for the wisdom of the Perl Monks concerning the following question:

Hello, where can I find some snippet or CPAN module which makes matching nested data structures a definitional as opposed to procedural process?


Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality
  • Comment on Easy Matching of nested data structures

Replies are listed 'Best First'.
Re: Easy Matching of nested data structures
by dragonchild (Archbishop) on Oct 22, 2007 at 19:56 UTC
    I'm assuming you've already looked at Test::Deep. What are you looking for that test-deep doesn't do?

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
      I second this emotion.
Re: Easy Matching of nested data structures
by moritz (Cardinal) on Oct 22, 2007 at 20:20 UTC
Re: Easy Matching of nested data structures
by princepawn (Parson) on Oct 22, 2007 at 20:46 UTC
    Data::Diver looks good.


    Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality
      as does Data::Compare and Data::Match


      Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality
Re: Easy Matching of nested data structures
by princepawn (Parson) on Oct 24, 2007 at 20:12 UTC
    also see Data::DRef and Data::Walker


    Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality