in reply to Re: Re: Re: OOP Access of variables
in thread OOP Access of variables

Theo: You were right! I forgot that Packages and the object they create are separate. I figured for each Article or Editor I created, there'd be a new $dbh handle, but since it's global in TArtLib, the ref on the $dbh returned the same memory address for both packages' copy of $TArtLib::dbh :) Thanks so much to everyone for help. I learned a lot more about packages and objects today :)
  • Comment on Re: Re: Re: Re: OOP Access of variables