package A; sub fred { ... } package B; sub bill { ... } package C; sub mary { ... } package B; sub joan{ ... } package A; sub cleo{ ... }