in reply to File::Path::rmtree: What am I not grokking?
You're telling rmtree to remove the directory tree starting at .../alpha/beta/gama and it's doing exactly what you've told it to do (removed everything under the subdirectory gamma). If you want it to start at .../alpha and remove everything under it then do so.
Addendum: And as for the slash question, it depends on whether you want the new directory tree created under the root directory / or under the current working directory.
|
|---|