in reply to Failing to warn about "Found = in conditional"

This doesn't seem a Mac vs Linux issue. I do get the warning on a Linux box using 5.10.0, but no warning using 5.10.1.

I don't see this change documented in perl5101delta, nor in perl5120delta, so I can only assume this to be a bug. Specially since the warning is still issued if we replace the elsif with an if.

I suggest you use perlbug to report this; it's unlikely to get fixed for the imminent 5.16 release, but it ought to be addressed in the 5.17 series leading up to 5.18.

Replies are listed 'Best First'.
Re^2: Failing to warn about "Found = in conditional"
by BrowserUk (Patriarch) on Apr 17, 2012 at 11:20 UTC
    I don't see this change documented in perl5101delta, nor in perl5120delta,

    Didn't they make a change relatively recently that made the error reporting for if/elsif/else cascades more accurate? (Ie. attributing errors to the line number of the end of the nearest block rather than the end of the entire cascade.)

    Could that be the source of the change?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Re^2: Failing to warn about "Found = in conditional"
by Ineffectual (Scribe) on Apr 17, 2012 at 16:35 UTC
    Thanks for your input and understanding of the issue. I've used perlbug to report this.
      I haven't seen it on p5p yet. What's the bug ID?