in reply to Re: (golf) Recursively delete empty directories from a tree
in thread (golf) Recursively delete empty directories from a tree
I wonder what else a day that begins with me posting code to a golf thread will have in store *grin*use File::Find; finddepth sub {(!-d or /^.{1,2}$/)||rmdir($_)},@ARGV;
--
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: (golf) Recursively delete empty directories from a tree
by zentara (Cardinal) on Feb 19, 2004 at 16:39 UTC | |
by greenFox (Vicar) on Feb 19, 2004 at 23:54 UTC | |
by zentara (Cardinal) on Feb 20, 2004 at 16:53 UTC |