阅读背景:

如何区分Perl中的文件和目录?

来源:互联网 

I'm trying to traverse through all the subdirectories of the current directory in Perl, and get data from those files. I'm using grep to get a list of all files and folders in the given directory, but I don't know which of the values returned is a folder name and which is a file with no file extention. I'm trying to traverse through all the subdirec




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: