Dan Muey wrote:
> Howdy group.
> 
> I have a need to get the size of a directory.
> I could just execute unix's du command (my $sz = `du -sh /usr`;)
> but was wondering if there's a better way to do it that is
> more portable.
> I looked on cpan but didn't see anythign that jumped out at me.

There's a group working on implementing a number of Unix utilities in Perl.
Here's their du page:

  http://www.perl.com/language/ppt/src/du/index.html

I don't know how portable it is...

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to