Update Perl image

This pull request adds some Perl modules. Additionally, it ensures the packages are correctly installed by updating Apt cache, since some packages from the pristine image have vanished and some were added.