in reply to Warning gets the line number wrong?

hope this could give you some idea.
Wrong warning line with undef value comparison
  • Comment on Re: Warning gets the line number wrong?

Replies are listed 'Best First'.
Re^2: Warning gets the line number wrong?
by Cap'n Steve (Friar) on Apr 30, 2007 at 20:27 UTC
    So that would mean something above that line got optimized out, right? Why doesn't that trigger a warning like "useless use of constant"?