[an error occurred while processing this directive]

Как получить список файлов в директории
	opendir (DIR,"$dir_path");
	my @files=grep (!/^\.+$/,readdir (DIR)); # или foreach my $cur_file (readdir(DIR)){..}
	closedir (DIR);
 
27.08.2001
Ключи: grep, file / Лицензия: CC-BY
Раздел:    Корень / Программисту и web-разработчику / Perl / Работа с файлами

[an error occurred while processing this directive]

[an error occurred while processing this directive]