Its seriously just reeding the file in, try:
for(1..2)
{
my @lines;
open(FILE, file1.txt);
while(<FILE>)
{
push(@lines, $_);
}
}
It doesn't have to be opening the same file again but I used that just to make it easier.
| |
|
Welcome to AstaHost - Dear Guest | |
Toggle shoutbox
Shoutbox
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||



