Supress some perl warnings that arise from the latest version of perl.

This should not change the functioning of the program.