in reply to Multiple files opened
Hi kokakola613... "I wasn't surprised the above didn't work, since INP would have to be closed for the other file to be read in the subroutine I called. " . I don't think you need to close INP since Perl is intelligent to close it automatically. Also, as ahmad said .you don't need REX to read line...
In Section
Seekers of Perl Wisdom