Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Strict to references of a particular Variable of particular type.by Corion (Patriarch) |
on Dec 02, 2005 at 13:03 UTC ( [id://513585]=note: print w/replies, xml ) | Need Help?? |
People avoid prototypes for enforcing argument types and argument count because prototypes do not enforce argument types or argument count:
I forgot to point to Tom Christiansens Far More Than You Ever Wanted To Know About Prototypes - it details the uses and abuses of prototypes, and my rule of thumb has been to avoid them unless I really need them.
In Section
Seekers of Perl Wisdom
|
|