It has been a while since I last blogged. Unfortunately, family health problems are still not in a resolved state, so it probably will be so again.
However, last week, I went on Dave Cross's advanced perl course/seminar. In fact, most of my team did.
Dave knew his stuff (and apologised that he was talking about the 'new' 5.10 when 5.12 was released less than 36 hours earlier).
The course was interesting, however, due to the limitations of time (1 day isn't long enough, and I do like Lab-time) we didn't cover as much about Moose/DBIx::Class/Catalyst than I would have liked.
However, he did cover Test::Builder, which I hadn't really seen before, and how to create your own bespoke tests which will fit in with the plan.
And so I just have.
I have released Test::Structures::Data today. At the moment it only exposes one method
Now, this is not to detract from Test::Deeply (which I like a lot!) or Test::Data::Hash, however, I could not find any methods which go to see if a value is present in a data structure, and this was particularly what I was after.
It is on CPAN
and my github repository is
I plan to add some other methods shortly. These are meant to be simple things though. For example, you may have a hash, and a value. You don't know which key the value should be for, or even care which key it belongs to. The above test just sees if it can find it in the hash values.
Hoping this might be of use to someone (anyone?)