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

[ID 20010809.018] error location reporting oddity

From:
Larry Robinson
Date:
August 9, 2001 06:38
Subject:
[ID 20010809.018] error location reporting oddity
Message ID:
20010809083833.A12225@jump.net
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

thanks,

Larry Robinson <larryr@jump.net> ||   Mathematics represents reality much in
Jump.net Technical Support       ||   the same way that Congress represents
Phone: 512.257.4703              ||   the people. -- Martin Bonner





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About