in reply to Re^3: Using stat()
in thread Using stat() to get the total size of files in a folder
For Windows it will be glob "C:/" ?
my $size = 0; for my $filename (glob("C:/")) { next unless -f $filename; $size += -s _; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Using stat()
by Anonymous Monk on Nov 25, 2011 at 10:13 UTC | |
by pankaj_it09 (Scribe) on Nov 25, 2011 at 10:14 UTC | |
by Anonymous Monk on Nov 25, 2011 at 10:18 UTC | |
by pankaj_it09 (Scribe) on Nov 25, 2011 at 10:29 UTC | |
by Anonymous Monk on Nov 25, 2011 at 10:31 UTC | |
|
In Section
Seekers of Perl Wisdom