Roboticus:
Thanks for your valuable input.
About forward slashes: I just included the part of my code which was accidentally excluded. I am dealing with user input and most times its two backslashes forwarded by server name and share (\\hostname\share-dir\ ).
Also i think the area where the thing going wrong at Linux environment is the rmdir $_ is feeding the directory name only and not the full path with the name.
I am getting script output like below, i added a print statement inside "findpath" like below, print " directories are $_ \n";
directories are folder directories are dir2 directories are folder directories are dir3 directories are folder directories are dir1 directories are .
How can i make sure the find path function returns full path for every empty directory?
In reply to Re^8: Remove Script for a Infrastructure file managenet system running embedded perl
by sanju7
in thread Remove Script for a Infrastructure file managenet system running embedded perl
by sanju7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |