in reply to Interesting problem on perl data structure

Data::Rx is another "data structure schema validation" module that can be used to check the two data structures independently against a schema.
  • Comment on Re: Interesting problem on perl data structure