in reply to Re^8: Convenient way to use 5.10 features in perldebugger?
in thread Convenient way to use 5.10 features in perldebugger?

Your code does not demonstrate your statement. Showing you can access the value of a global variable does not say anything about scope.
  • Comment on Re^9: Convenient way to use 5.10 features in perldebugger?

Replies are listed 'Best First'.
Re^10: Convenient way to use 5.10 features in perldebugger?
by LanX (Saint) on Aug 16, 2010 at 08:33 UTC
    I said:
    not a matter of scope ...

    Obviously the value is not incremented automatically!

    Cheers Rolf

      It is a matter scope. use features is lexically scoped, and james2vegas demonstrated each statement has its own scope.

      Your statement is false, and your code does not support your statement.

        It is a matter scope. use features is lexically scoped, and james2vegas demonstrated each statement has its own scope.

        Your statement is false, and your code does not support your statement.

        Since nobody has yet shown a case proving that any of these ever get run, nobody has yet demonstrated that the lack of affect is due to separate scoping instead of just being due to lack of execution. I see no examples yet that support your conclusion. LanX has given at least two examples that clearly demonstrate a lack of execution.

        - tye