http://www.perlmonks.org?node_id=29734

Adam has asked for the wisdom of the Perl Monks concerning the following question: (directories)

On an NT machine I managed to do it with:
`rd /s /q "$_"` for grep {-d} glob '*';
(That deletes all the sub directories (and their contents) in the current dir.) But I was wondering if there is a "Perl" way.

Originally posted as a Categorized Question.