|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: How do I make deterministic constructors?by herveus (Prior) |
| on Aug 29, 2001 at 14:10 UTC ( [id://108757]=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.
Howdy!
Consider: where subs new_1 and new_2 are your alternatives. You can do more detailed checking of the characteristics of the contents of @_ as needed. Of course, there is Class:Multimethods as mentioned earlier to automate this.
yours,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||