laziness, impatience, and hubris | |
PerlMonks |
Re: How to obtain the size of a remote Winnt4 shareby wufnik (Friar) |
on Jun 18, 2003 at 13:19 UTC ( [id://266809]=note: print w/replies, xml ) | Need Help?? |
hola; Asim mentioned earlier the module win32::Dirsize, which copes well with the size problems one can often encounter (witness his use of bigint) in determining the size of remote directories. though he says it is slow, it is certainly faster than summing file sizes via file::find. here is a scriptlet which demonstrates its use. which produces something like hope that helps. yes, it uses map in a void context, but i cannot resist map's allure. ...wufnik -- in the world of the mules there are no rules --
In Section
Seekers of Perl Wisdom
|
|