in reply to Re^2: Splitting output of a system command into an array
in thread Splitting output of a system command into an array

Also, is it possible to read each line into it's own array rather than all into one?
Yes, just use my @lines = `free`;