Fix tests failing on recent perls

`for my $item qw( ... )`  syntax is being deprecated, hence this fix; note that this was tested atop of #4 (which is somewhat similar fix)

This PR is part of my [advent quest](https://questhub.io/realm/perl/quest/547b4202070ccf750d00010e).

Cheers,
Sergey.