I have spent the weekend going back and forth with the web host about why the Perl code on the site is no longer working. I had not made any changes.
Today I finally had someone from technical support explain that during the maintenance the Perl version on the server was upgraded from version 5.22 to version 5.34. Unfortunately the newer version used a slightly difference syntax.
I have been editing the files all day and will continue doing so tomorrow.