Perl: Shebang (space?) “#! ”?

前端 未结 2 956
情书的邮戳
情书的邮戳 2020-12-17 17:09

I\'ve seen both:

#!/path/...
#! /path/...

What\'s right? Does it matter? Is there a history?

I\'ve heard that an ancient version o

2条回答
  •  情话喂你
    2020-12-17 17:47

    It seems to usually work both ways. See here. I'd say that the no-space version is much more common today, and, to me, much more appealing.

    BTW, this is not specifically related to Perl (but it's definitely related to programming).

提交回复
热议问题