in reply to Encapsulation and Subroutine redefined warnings

From my understanding of EXPORT, what you are doing is importing the EXPORTED names into your calling script. This is causing name collisions.

I suggest NOT exporting anything explicitly in your package/modules. Instead, call the subs by their fully-qualified names, such as coloTotals::process(). This also makes your intentions clear in your code.

  • Comment on Re: Encapsulation and Subroutine redefined warnings

Replies are listed 'Best First'.
Re: Re: Encapsulation and Subroutine redefined warnings
by jspeaks (Novice) on Nov 24, 2003 at 22:27 UTC
    That was it... thanks for the clarification