in reply to Re^2: comparing contents of the file
in thread comparing contents of the file
print OF1 $lines;
You probably want:
print OF1 $lines{$_};
Same for OF2.
Also, "els" is a typo: should be "else".
$lines++; is also a problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: comparing contents of the file
by Ms.Ranjan (Initiate) on Jun 04, 2008 at 16:21 UTC | |
by toolic (Bishop) on Jun 04, 2008 at 16:38 UTC | |
by Ms.Ranjan (Initiate) on Jun 04, 2008 at 21:03 UTC | |
by graff (Chancellor) on Jun 04, 2008 at 23:27 UTC | |
by Ms.Ranjan (Initiate) on Jun 05, 2008 at 20:48 UTC |