Have a general practice of including 'use strict;' , 'use warnings;' and 'use diagnostics;' which helps your to figure of declaration errors while programing.
Given that he asked about perl reporting this error:
Global symbol "$TestCase" requires explicit package name at Hello.pm line 58.
you should be able to surmise that he already is running under use strict; ...