i helped myself with : $volsize = `du -ms $item`
with the backticks-operator (``) the system-own function is used and output is written in the variable $volsize - check backtick-operator.
works also on windows when the unxutils are installed (sourceforge.net)
cheers, -ralf
Harry Putnam wrote:
I'm spending lots of time looking thru perl functions but not finding something to give me a quick reading on the size of a directory.
How is that task handled in perl?
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>