I have a script which has code something like below.
$shelf->print("\nStarted syncing from \"${%Family::MEMBERS}{$member}\" \n");
When I attempt to run it locally on CentOS 7.0 with perl(v5.8.8) it works fine, however the same code on same OS with perl(v5.16.3) it gives me below error.
Can't use string ("6/16") as a HASH ref while "strict refs" in use at
I'd appreciate any advise on what changes might have caused this problem, and what the best way would be to fix the script to work correctly in both versions.