I have a Utility package which reads a couple of config files and does some other things like initializing log4perl etc. Other parts of my program(i.e. my other packages) need access to the contents of the config file and I don't want to pass the reference to my Utility package to other packages. So, I am thinking I need a Singleton. Is this the right approach?
Thanks,In reply to Singleton question by vippagunta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |