I noticed that at the top of the perl test there #!perlis .t, as far as I know, you cannot execute it like ./test.tthat because it will require them to be executed and use the full track. So why do these files usually have this?
#!perl
.t
./test.t
perl
(On the side, on Unix systems, the extension does not matter. If the execution bit is set in the file, the OS will consider the file as a program, so you can run it. When you try to do this, the OS will look at the first line to determine which call the command (and arguments) using the program, however, it doesn’t matter here, since the OS does not search $PATHfor non-absolute paths - it will only search in relation to your current directory, therefore #!perlit will not work. You need an absolute path in practice .)
$PATH
, , , , perl, , " ", Perl . file , . , Perl, , , Macintosh, . , , , . , , perl .t - . , , perl.
Source: https://habr.com/ru/post/1779755/More articles:How to handle ASP.NET MVC global string constants - .netYoda Equivalent to Date data structure - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1779752/net-development-code-structure-controllers-services-repositories-contexts&usg=ALkJrhhSpRfxwfqUdZ562fyr2vJruUj91QMySQL data contains special characters, such as š and ć, but they are displayed as '?' on the web page. What for? - sqlAptana or Zend Studio - aptanaShould I put [stock pool] in the @finally sentence? - objective-cproblem with painting one widget inside another (parent) - c ++Implement common methods from an interface without clutter? - javaHaving backward compatibility for xstream in the following case - javaЕсть ли команда, которую я могу вызвать для печати структур данных malloc? - linuxAll Articles