in reply to perl -mstrict foo.pl

Seems to work fine for me...

(~) $ 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.

Update: Wow, still to early in the morning for me. Still, when I fix my quotes, I get the same basic results:

(~) $ 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.

_______________
DamnDirtyApe
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
            --Friedrich Nietzsche