This will not work as it will also forbid creating new files(according to the question only sub-DIRS r not allowed) in that directory. There is no Unix-provided solution for this. One can write a function, which can be called first in any perl code (related to some task in that path) to ensure that no sub-directories be created in that path.
--------------------------------- Get a bigger mailbox -- choose a size that fits your needs.