bareword found where operator expected

前端 未结 1 1137
伪装坚强ぢ
伪装坚强ぢ 2021-01-18 02:12

I am new to perl, and I am fiddiling around. I found this code online. Here is the snippet of code:

82 process_input(q,[]).
83 process_input(n,Task) :- topt         


        
相关标签:
1条回答
  • 2021-01-18 02:59

    A 'Bareword' error is caused by a syntax error in your code. A 'runaway multi-line' usually pinpoints where the start of the error is, and usually means that a line has not been completed, often because of mismatched brackets or quote marks.

    As has been pointed out by several SO-ers, that doesn't look like Perl! The Perl interpreter is balking on a syntax error because it doesn't speak that particular language!

    0 讨论(0)
提交回复
热议问题