in reply to Problem defining a Test::Deep structure to match this arrayref
do the trick?cmp_deeply($x, any([11,22,[[1],[-1]]], [11,[[1]]), 'test1'); cmp_deeply($y, any([11,22,[[1],[-1]]], [11,[[1]]), 'test2');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem defining a Test::Deep structure to match this arrayref
by mje (Curate) on May 12, 2010 at 15:19 UTC |