|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Re: Re: OOP Access of variablesby TheoPetersen (Priest) |
| on Mar 08, 2001 at 16:38 UTC ( [id://63024]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Assuming the code I gave you, there would be only one $dbh.
(Hey, that's a catchy phrase ... :)
When learning Perl objects (or Perl anything else), follow your hunches and try them out. You'll develop both knowledge and intuition quickly. That's the nice thing about Perl's learning curve, you can almost always do useful work along the way.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||