Global symbol "$var" requires explicit package name at ./test.pl line 10. Execution of ./test.pl aborted due to compilation errors.