in reply to Modules that reference each other
Sounds like this is the dependancy you need to remove. The program/general-library should not know the validation piece exists.
Meanwhile, what you really need to do is modularilize your program so that you don't have to export anyting. (Perl OOP -- when done at a minimal level -- isn't that painful and it doesn't have to be overdone if you don't want to overdo it).
|
|---|