in reply to finding a subdir

It may appear like a FAQ but did not find the one that would help me. Hence the question. There is only one subdir within a directory and the rest are files. How can I grab the subdir and its contents ? The problem is readdir returns the files and not more than that. I tried "grep {-d}" and all. It is of no use. How to get the subdir ?

Well, that should work, so show what you tried , and we'll fix it for ya :)

Alternatively, see File::Find::Rule/Path::Class::Rule, and example of each