in reply to Re: Modules included more than once
in thread Modules included more than once
I've done a bit more digging, and it appears that there is a circular include going on:
Would it make sense to make another package containing the functions used by both packages, and use that in both, rather than the way it's done now?
Thanks,
Greg.
andpackage OBJECT_SERVICES; use SUPPORT; use SUPPORT qw( %typeConvert %enumeratedTypes);
I'm not sure how to get round this, as both packages use functions from the other package. I know this looks terrible.package SUPPORT; use OBJECT_SERVICES;
Would it make sense to make another package containing the functions used by both packages, and use that in both, rather than the way it's done now?
Thanks,
Greg.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Modules included more than once
by dada (Chaplain) on Aug 22, 2002 at 11:28 UTC | |
by PodMaster (Abbot) on Aug 22, 2002 at 12:14 UTC | |
by physgreg (Scribe) on Aug 22, 2002 at 13:10 UTC |
In Section
Seekers of Perl Wisdom