more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks for that, edoc. That makes at least two of us who've interpreted the docs in a way that wasn't intended. So, is the best way to proceed to sort my array before I do the test? This time I've already defined a way to order my hashrefs, but I can see that sometimes I might have to write a sorting function when I otherwise might not have needed to. So now I'm thinking that it should be possible to write a standard comparison function, that works by examining the output of Data::Dumper to force a well defined (but otherwise meaningless) order on an array, so that it could make equal_set work as I thought the docs said it should. Anyone see why this shouldn't work? Can anybody see any traps I might fall into, if i were to try to write this? Kind regards, brewerIn reply to Re: Test::More - equal_set
by brewer
|
|