KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to get the name of all directories in the specified path I tried the following but that gives me every level down not just at the path i specified find(\&dir_names, "C:\\mydata\\"); sub dir_names { print "$File::Find::dir\n" if(-f $File::Find::dir,'/'); }
Tags (comma-separated)
Save Edits
Cancel