in reply to Re^2: Wrong + Right = Even Worse (@INC sub)
in thread Wrong + Right = Even Worse

One would need a private shadow %MY_INC within the catch-sub to handle it and keeping %INC clean.

I'm aware this would cause problems with code accessing %INC directly, but I somehow doubt this legacy code base ever attempts to do such things.

IMHO good enough for debugging.

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^3: Wrong + Right = Even Worse (@INC sub)