in reply to How do I delete a directory without emptying it first?

*nix/linux?
my $dir = '/directory/path'; system('rm','-r',$dir);
And if you're doing this from input data... well if you are, you're probably mad :)

cLive ;-)