in reply to Re^3: Redefined subroutines in multiple libraries
in thread Redefined subroutines in multiple libraries
So there is no re-definition warning because you do not try compiling MySub1 twice. But the lack of the warning does not mean that things are necessarily OK. There are nasty lurking potential problems around the fact that when MySub2 completes it expects MySub1 to be there and it isn't. So if, for instance, MySub1's import method has not been created at the point in time where MySub2 is encountered, then that import will not happen. And this failure to run the not yet defined import will be silent! The resulting errors can be extremely mysterious.
Unless you know exactly what you are doing here, and why, here be dragons.
|
|---|