variable declaration efficiency in testHelper.pl