in reply to What A, B & C are
in thread Module programming

Then what you need is "D", the one who knows how to go out to a site. A, B, and C all ask D to get a page given a URL. Case closed. No need for a global.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: RE: What A, B & C are
by (\/)(\/) (Novice) on Oct 31, 2000 at 14:43 UTC
    Great .. Why the heck did I not think about that ! ;) .. Thanks a lot.

    That design solved some of my other problems also.
    (\/)(\/)
      Experience, my son. I wrote my first Object-Oriented program in Smalltalk80 nearly 20 years ago. {grin} Glad to be of help.

      -- Randal L. Schwartz, Perl hacker

        You were writing your first object-oriented program in Smalltalk80 when I was 2.