Click here to get back home

Mutual Circular Module Dependencies

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Mutual Circular Module Dependencies Tim M 11-29-2007
Posted by Tim M on November 29, 2007, 6:03 am
Please log in for more thread options
How do I avoid problems with modules that depend on each other -
without getting function redefined errors etc.

e.g. I have two classes in two modules. Once called country one called
town. Both call functions in the other so both have to 'use' the other
- which causes the errors. I could turn off strict and warnings but
I'd rather fix it properly.

Is there a solution?

Thanks in advance,

Tim.

P.S. Please I'm not interested in an argument about whether I should
have the mutual dependency in the first place - if you want that start
another thread!

Similar ThreadsPosted
[RFC] Devel::Dependencies January 4, 2006, 7:47 am
get all a module's dependencies? September 25, 2007, 3:02 pm
Lower case module name for non-pragma module January 4, 2005, 10:19 am
RFC: New module 'Module::Bundled::Files' August 26, 2005, 3:49 pm
help with an MD5.pm module!! September 3, 2005, 11:39 pm
Looking for RTP module December 9, 2004, 9:17 pm
module for FFT May 9, 2005, 3:06 pm
Module may not be right one? April 27, 2006, 12:57 pm
The 'if' module June 1, 2006, 8:18 pm
The 'if' module June 1, 2006, 8:26 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap