in reply to Re^2: Changing @INC before use'ing a module in a BEGIN block
in thread Changing @INC before use'ing a module in a BEGIN block

Package name space is global, it makes no sense to localize @INC
  • Comment on Re^3: Changing @INC before use'ing a module in a BEGIN block

Replies are listed 'Best First'.
Re^4: Changing @INC before use'ing a module in a BEGIN block
by ig (Vicar) on Mar 27, 2009 at 07:13 UTC

    I don't understand the connection between package namespace and @INC. Can you clarify?

      Yes you do, or you wouldn't modifying @INC at all.