c:\@Work\Perl\monks>perl -wMstrict -le "my $file = '/Devel'; print 'hi' if 'xhix' =~ /hi; print 'ho'; print 'he' if $file =~ q|/Devel|; " Bareword found where operator expected at -e line 1, near "Devel" (Missing operator before Devel?) syntax error at -e line 1, near "Devel" Execution of -e aborted due to compilation errors. #### c:\@Work\Perl\monks>perl -wMstrict -le "my $file = 'foo/Devel/bar'; print 'match' if $file =~ q|/Devel/|; " match