This module gives you lots of flexibility when testing deep structres.
Install as usual - untar it the
perl Makefile.PL
make
make test
make install
See the pod for full deatils of how to use this.