I am very new to perl and I have been given the task of maintaining a webpage. I have found a bug that I do not know how to fix.
The perl script stops on the following code.
my @failedTests = (sort(keys ($TestResultsData{$currPlatform}{$currDate}{failedtests})));
while ( @failedTests )
{
...
The error message is:
Type of argument to keys on reference must be unblessed hashref or arrayref.
Can that line of code be re-written so that it works?