I get the following error after using dereferencing:
Can't use string ("errorIDsInCatchblocks") as a subroutine ref while "strict refs" in use at
This is the code I have:
my $nonStrictCheckResult = $check->($fileTobeSubmitted);
Why do I get this error and how can I fix it without compromising use strict?