The stupid question is the question not asked | |
PerlMonks |
Re: Multiple files openedby changma_ha (Sexton) |
on Sep 24, 2010 at 08:53 UTC ( [id://861755]=note: print w/replies, xml ) | Need Help?? |
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
|
|