Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Initial Variablesby Angel (Friar) |
on Nov 25, 2002 at 18:15 UTC ( [id://215685]=perlquestion: print w/replies, xml ) | Need Help?? |
Angel has asked for the wisdom of the Perl Monks concerning the following question:
I read many of the OO posts and seem to have missed passing an inital array on the new() function.
http://www.perlmonks.com/index.pl?node=perlman%3Aperlbot has passing the values/scalars as a hash. But not as an array. What I am trying to do is pass a db handle to an object on creation so that the methods inside can use if for talking to a database.
Back to
Seekers of Perl Wisdom
|
|