Geetha Weerasooriya wrote:
> Hi dear all,
Hello,
> I have written a script which reads the data lines and when a blank line
> is found all the data up to the previous line is considered as a one set
> and new set is started after the next line. Then I subtracted from one
> element of the last lin
Geetha Weerasooriya am Mittwoch, 27. September 2006 05:58:
> Hi dear all,
Hi Geetha
We (at least I) have to guess the things you don't describe.
And there is no test data to reproduce the wrong output.
> I have written a script which reads the data lines and when a blank line
> is found all the
Geetha Weerasooriya wrote:
: When I turn on the " use warnings " it gives the warning '
: Use of uninitialized value in numeric ne(!=) at .
: line 37, line..
:
: Here line 37 is" if (@line != ()) {"
In this case, perl will use the scalar value of @line,
which is a count of its elemen