Global symbol "$name" requires explicit package name at mytest.pl line 5. Global symbol "$name" requires explicit package name at mytest.pl line 7. Execution of mytest.pl aborted due to compilation errors.