Variable "$fred" is not imported at ... (Did you mean &fred instead?) Global symbol "$fred" requires explicit package name at ... Execution of test.pl aborted due to compilation errors.