my @dirs; $dirs[0] = "/etc/nagios/objects/hosts/linux/"; $dirs[1] = "/etc/nagios/objects/hosts/netview/"; $dirs[2] = "/etc/nagios/objects/hosts/switches/"; $dirs[3] = "/etc/nagios/objects/hosts/windows/";