Hello Monk’s. I have been tasked with updating a large windows web application from Perl 5.10 32bit to the latest Perl 5.26.1 64bit, all has gone well until I get to one problem. Under 5.10 the original programmer stored the DBI connection in a custom $ENV variable which is then used in many files for database calls and due to the amount of calls it would be extremely hard to update it everywhere. I wanted to show the dumper information and see if maybe I could understand it better and if there was a solution without modifying all of the files. Example for the variable $ENV{'dbh_connection'}
For Perl 5.10 32 bit, the dumper returns:
$foo = bless( {}, 'DBI::db' );
For Perl 5.26.1 64 bit, the dumper returns:
$foo = 'DBI::db=HASH(0x4ad63e8)';
If I use a standard variable such as $db_con it will return:
$foo = bless( {}, 'DBI::db' );
Thank you ahead of time for all of your help and information.