is there anyway to get the results from my system call straight into the array without having to use a file? Any help would be great! :)system("diff $file1 $file2 | sed -re '/^[><]/d' >| temp.txt"); open (FILE, 'temp.txt'); @diffs = <FILE>;
In reply to using system() and putting results into an array by lasagnashoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |