Subject: | test failure |
Hi,
t/2.unpack.t fails for the second test:
cmp_deeply( $packed, $pa );
since $pa may have a different order than $packed for each attribute.
$packed $pa
0 ARRAY(0x15fd1e0) 0 ARRAY(0x1651f80)
0 3 0 3
1 'name' 1 'label'
2 'superhero' 2 'superhero'
3 'label' 3 'name'
4 'Peter Parker' 4 'Marvel'
5 'Spiderman' 5 'Spiderman'
6 'Marvel' 6 'Peter Parker'
7 'Bruce Wayne' 7 'DC'
8 'Batman' 8 'Batman'
9 'DC' 9 'Bruce Wayne'
10 'Bruce Banter' 10 'Marvel'
11 'Hulk' 11 'Hulk'
12 'Marvel' 12 'Bruce Banter'
13 'John Logan' 13 'Marvel'
14 'Wolverine' 14 'Wolverine'
15 'Marvel' 15 'John Logan'
So the test cannot compare them as array, anyway they are both right hpacked,