in reply to Re^2: Get the available space in a partition using as input a directory?
in thread Get the available space in a partition using as input a directory?
Yup, you're right.
Here's an updated kludge:
my $free = ( split "\n", qx{ dir } )[-1]; $free = ( split ' ', $free )[2]; $free =~ s/\D//g; print $free;
Works for at least French and English...
|
|---|