http://www.perlmonks.org?node_id=593124


in reply to 'either or' value unit test case in Test::Simple or Test::More

You could use Test::Deep.
use strict; use warnings; use Test::More tests => 1; use Test::Deep; cmp_deeply([1], subsetof(1,2,3));
  • Comment on Re: 'either or' value unit test case in Test::Simple or Test::More
  • Download Code