Unless you seek() back to the beginning @array will be empty since COMP will be sitting at the end of the file.
In reply to Re: print vs push? by Fletch in thread print vs push? by McMahon