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...
In reply to Re^3: Get the available space in a partition using as input a directory?
by Not_a_Number
in thread Get the available space in a partition using as input a directory?
by daragao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |