After installing ActivePerl 5.24.0, we can no longer store a database handle in an environment variable.
We get the following error when trying to prepare a sql statement:
Can't locate object method "prepare" via package
The scripts works when I change the database handle from an environment variable to a local variable.
Is there an easy fix for this or do I have to change all of our code to use local variables to store a database handle?