注-名为的目录位于同一个文件夹中.Execution of test_8.pl aborted due to compilation errors.martin@linux-wyeeExecution of test_8.pl aborted due to compilation errors.Bar
Windows上的Perl脚本在包含文件名的通配符方面可以像在Linux上那样工作是很好的。例如:在Linux上,bash将将*.txt展开为一组文件名,并将它们作为单独的参数传递给perl解释器。因此,基本上,我要寻找的是在脚本顶部放置一些东西,它将扩展通配符参数,以便脚本的其余部分可以与Linux上的脚本相同。例如:use warnings;
# Mystery co
现在,我试图根据dirs.First的存在设置不同的文件源,检查是否存在特定的目录,然后设置特定的文件连接。我的当前配置文件如下所示:
include nagios_client::check_location_lib-nagiosfile { '/usr/lib/nagios/plugins/check_linux_sta