... while (defined(my $line2 = $INFO)) { ...
... you need to use the diamond operator to read from a file line by line:
... while (defined(my $line2 = <$INFO>)) { ...
In reply to Re^7: Out of memory error!!!
by Corion
in thread Out of memory error!!!
by sathya83aa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |