in reply to How to know how much used space of a path?

Searching CPAN reveals Filesys::Df and Filesys::DfPortable by the same author. I have no experience with either but they should do what you want.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]