M
MM
Hi,
Can anyone give me some hint on how I in a perl script can remove all
directories, subdirectories, and files (recursively) in a specific directory
that I state? Pretty much like the 'rm -fR' system command, except that I do
not want to use the 'system' command. I looked at the 'unlink' function, but
I could not see how this can be used to remove subdirectories as well.
Many thanks in advance,
MM
Can anyone give me some hint on how I in a perl script can remove all
directories, subdirectories, and files (recursively) in a specific directory
that I state? Pretty much like the 'rm -fR' system command, except that I do
not want to use the 'system' command. I looked at the 'unlink' function, but
I could not see how this can be used to remove subdirectories as well.
Many thanks in advance,
MM