in reply to Re^3: Closure warning with Perl 5.14?
in thread Closure warning with Perl 5.14?

Still no warning, $y is declared as it always was.

(But you get a warning for an uninitialized value in a concatenation, potentially, etc.)

Replies are listed 'Best First'.
Re^5: Closure warning with Perl 5.14?
by BrowserUk (Patriarch) on May 19, 2011 at 09:03 UTC

    I couldn't test it as I don't have 5.14 yet. You'll have to play around to discover teh exact circumstances under which it occurs.

    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.