http://www.perlmonks.org?node_id=177226


in reply to df equivolent in Perl

Check out Filesys::DiskFree and Filesys::DiskSpace.

Update: Just found Filesys::Df, haven't used it yet though.

Update 2: Looks like grinder just beat me to Filesys::Df :). I tried it out though and it works nicely.