Ok, sorrry I am still a little (ok, a lot) confused.
Right now I have (cgi script)->(Index.pm)->(module1.pm)
Are you saying I should be doing everything that requires access to my session object needs to be done in Index.pm? Or if I create an instance of module1 in my cgi script, it must be done in that module?
Thanks for your insite, I will contine to try to make sense yours and Joost's sugestions.
Thanks | [reply] |
as was said above, you need to create an instance of you child class (module1), not your parent class (Index). The parent class knows nothing about the child class. That's what OOP is about.
| [reply] |