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

That's exactly what I was after, thank you. I will have to read through all my various test scripts as i'm sure I had tried that, definitely hadn't done the shift though. Also, is it possible to read each line into it's own array rather than all into one?
  • Comment on Re^2: Splitting output of a system command into an array

Replies are listed 'Best First'.
Re^3: Splitting output of a system command into an array
by FunkyMonk (Bishop) on Sep 29, 2007 at 18:23 UTC
    Also, is it possible to read each line into it's own array rather than all into one?
    Yes, just use my @lines = `free`;