http://qs1969.pair.com?node_id=515495


in reply to Re: Confusing warning with if/elsif/else
in thread Confusing warning with if/elsif/else

Yes. This is a very old and popular bug, which gets reported all the time.

Although it has been talked about on p5p, it hasn't been fixed. Itís actually a fundamental problem with the way that perl keeps track of the line number, and the proposed fix is to store the line number in every single op.