Keep It Simple, Stupid | |
PerlMonks |
How do I make deterministic constructors?by PsychoSpunk (Hermit) |
on Jun 21, 2000 at 23:37 UTC ( [id://19315]=perlquestion: print w/replies, xml ) | Need Help?? |
PsychoSpunk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (object-oriented programming)
I'm wanting to provide a bit of determinism to the
constructor method, and was wondering if I can simply make
and
Am I looking for too much here? Or is there just no way to really effectively pull this one off other than putting it in one constructor that does the logic and passes off to other subs based on the values it gets? Thanx. Mike Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|