(~) $ perl -Mstrict -e '$foo = 'bar'; print $foo . $/;' Global symbol "$foo" requires explicit package name at -e line 1. Global symbol "$foo" requires explicit package name at -e line 1. Bareword "bar" not allowed while "strict subs" in use at -e line 1. Execution of -e aborted due to compilation errors. #### (~) $ perl -Mstrict -e '$foo = "bar"; print $foo . $/;' Global symbol "$foo" requires explicit package name at -e line 1. Global symbol "$foo" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors.