Perl中是否有一个列出目录中所有文件和目录的函数?我记得Java有File.list()这个吗?在Perl中是否有类似的方法?
File.list()
directory perl
directory ×1
perl ×1