Test::More has a function called is_deeply that allows us to compare and test any complex data structure, but it can only do exact comparison.

Test::Deep on the other hand provides us tools to test arbitrary data structures in a very flexible way.