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