in reply to Re: diskspace used by a directory
in thread diskspace used by a directory

Certainly under the File:: branch. Adding to an existing module, check out File::stat.