in reply to Traversing SubDir and Execute Unix Command
system("cd $sd") doesn't behave the way you think it does. It starts the cd command, which immediately exits again. The current directory of the parent process (your Perl script) is not changed.
To change the directory, see chdir. Also see File::Find, if you haven't already.
|
|---|