No more use "when" nor "my $_"

Both features are marked experimental in Perl 5.18 and hence cause
warnings which again cause test-suite failures with Perl 5.18.

Closes: #720762
Bump debhelper compatibility to 9

Update versioned debhelper build-dependency accordingly
Release as 0.3.2.2