Przy próbie uruchomienia jakiegokolwiek skryptu wywala błąd:
Kod: Zaznacz cały
/usr/sbin/lms-makedhcpconf: line 25: use: command not found
/usr/sbin/lms-makedhcpconf: line 26: use: command not found
/usr/sbin/lms-makedhcpconf: line 27: use: command not found
/usr/sbin/lms-makedhcpconf: line 28: use: command not found
/usr/sbin/lms-makedhcpconf: line 31: syntax error near unexpected token `('
/usr/sbin/lms-makedhcpconf: line 31: `sub mask2prefix($)'
Kod: Zaznacz cały
use strict;
use DBI;
use Config::IniFiles;
use Getopt::Long;
#use vars qw($configfile $quiet $help $version);
sub mask2prefix($)