ya i noticed "}" at the end of the sub routine, but i need a way to look up into the folder where i have read, execute access, other wise there is no meaning of me writing a code for searching files or folders, i have tried on every folder on my linux box, the code works fine only on my home folder, and fails on other folder inside "/" on whom i have read, excute and even write on some folder and files.
"I really don't live on earth, it's just my reflection"
"open source is not only technology, but it's a world out there - opensourcer"