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

I'm not sure if this is a better method than using File::Path, but it is a hell of a lot better than rolling your own with File::Find :)
use File::Remove qw(remove); remove \1, "dir";

gav^