Can you give real names to A, B, and C? What roles are they playing? Can B and C be specializations (subclasses) of A? Can B and C ask A what the current proxy setting is? If you had three people named A, B, and C, what would their job titles be, what would each of them know, and what would they have to get from each other?
A global variable is like person B riffling through the desk drawers belonging to person A just to get some info he knows. It's better to ask, not steal from behind. Because what happens if person A no longer puts it in the same drawer?
-- Randal L. Schwartz, Perl hacker | [reply] |
Oh ok,..
What I plan to do a write perl modules to fetch headlines/news from sites and show on host website as dynamically generated pages.
A = basic module that prints the HTML header and footer.
B,C,D etc = module to print specific site's news (like /.)
Each module B,C,D will need the proxy server name and port to access and retrieve the individual site backend file.
This is the scenario..
(\/)(\/)
| [reply] |
| [reply] |