http://www.perlmonks.org?node_id=1017210


in reply to Re^2: Package problem with defining subroutines
in thread Package problem with defining subroutines

Refactor, break the circle

sub tst1 { mutual_util(); ... } sub tst2 { mutual_util(); ... }

Take whatever tst1 does that calls tst2, take whatever test2 does that calls tst1 , make it a new function, and instead of calling each other, call this third function