develooper Front page | perl.perl5.porters | Postings from August 2001

[ID 20010809.018] error location reporting oddity

Larry Robinson
August 9, 2001 06:38
[ID 20010809.018] error location reporting oddity
Message ID:
while updating some relatively complex perl code, I ran into the following error:

    Argument "3 (84)" isn't numeric in numeric gt (>) at ./genesys line 356.

it seems that the "} elsif(...){" on line 372 is considered part of the "if" that starts it on line 356.  this was greatly confusing to me at first, as line 356 does not contain a numeric gt (>) operation, and isn't supposed to be checking the data referenced in the error message. (line 372 is where the problem was, which was indeed a non-numeric in a numeric gt (>).)

perl ver info: This is perl, v5.6.1 built for i386-linux


Larry Robinson <> ||   Mathematics represents reality much in Technical Support       ||   the same way that Congress represents
Phone: 512.257.4703              ||   the people. -- Martin Bonner Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About