From: Venks Date: 2007-12-06T08:57:51+09:00 Subject: Capturing STDOUT from a system call (POSIX) into an array What's the best way to capture STDOUT into an Array? I looked at popen3, open4, systemu but couldn't figure out how to do this. In short, I want to execute a system call like "ls -l" and capture it into an array. Of course, "ls -l" may not have proper delimiter but assume that the delimiter is TAB or COMMA. Thanks,