I had done a little bit of C++ coding. The concept of packages/modules were not there in C++ then. And not having done some reading on Perl first, I had begun to implement objects that I needed only one instance of as singletons even if the objects consisted of only methods and no data.
I am still not very familiar with the package/module concepts. But reading a bit, I get the feeling that I should be using modules rather than the singletons.
Just need a bit of an advice to get on the right track.
Thanks
In reply to Module vs Singleton by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |