Revert "perl: Do not use global match variables"

This reverts commit 79a6978160ccf752d058786ab8fb61ad7fa1646a.

Conflicts:
	debian/changelog
	scripts/dpkg-distaddfile.pl
	scripts/dpkg-gencontrol.pl