http://www.perlmonks.org?node_id=20305


in reply to Re: Perl with VIM

I tried out this strange looking code, and perl -c told me:
Bareword found where operator expected at /tmp/monk.pl line 4, near "- +I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE " srcdir" (Might be a runaway multi-line "" string starting on line 2) (Missing operator before srcdir?) Unquoted string "srcdir" may clash with future reserved word at /tmp/m +onk.pl line 4. syntax error at /tmp/monk.pl line 4, near "-I/usr/local/lib/perl5/5.00 +503/sun4-solaris/CORE " srcdir" Reversed .= operator at /tmp/monk.pl line 4. Unquoted string "sh" may clash with future reserved word at /tmp/monk. +pl line 4. Bareword found where operator expected at /tmp/monk.pl line 5, near "/ +usr" (Might be a runaway multi-line // string starting on line 4) (Missing operator before usr?) Unquoted string "usr" may clash with future reserved word at /tmp/monk +.pl line 5. Unrecognized file test: -I at /tmp/monk.pl line 5.
Paris Sinclair    |    4a75737420416e6f74686572
pariss@efn.org    |    205065726c204861636b6572
I wear my Geek Code on my finger.