A.pm ---- # Order doesn't matter. BEGIN { do 'Constants.pm' } use B; #### B.pm ---- BEGIN { do 'Constants.pm' } #### A.pm ---- # Order doesn't matter. use Constants; use B; #### B.pm ---- use Constants;