in reply to Using more than one filehandle
open (FILE1, "file1.txt") or die "Can't read file1: $!";
open (FILE2, "file2.txt") or die "Can't read file2: $!";
#.... do whatever you need to each file, accessing them by the
# appropriate filehandle.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (294 votes). Check out past polls.